But this rule doesn’t apply if it would be manifestly contrary to public policy (for example, in a case where gender recognition was obtained overseas at a very young age). Whether or not a public policy exception applies will depend on the facts and circumstances, and may in a disputed case be determined by the courts under new section 8P, which provides ...