No that's incorrect. In cases that fall outside of the Corbett criteria sex is a multi-factorial determination that takes into account, among other things, the sex in which you were raised and psychological factors. See Bellinger v Bellinger. (And Michael Foran agrees with me it seems.)