I agree with this in certain circumstances, as there are lots and lots of babies born every year that aren't clearly of one gender or another, and a lot of times what doctors thought was the gender ends up not to be.
Since it seems like you need a doctor to okay it, I'm going to say a hesitant "okay maybe"