High Court comments on delicate balance between child arrangements, transgender parent and religious beliefs