In real life
A newborn's sex is announced in a second, but behind that moment lies a chain of at least four separate decisions made during the first three months of pregnancy. When one link in the chain behaves differently, the layers can disagree — which is why doctors never assume that chromosomes alone tell the whole story.