This is a very real issue in the medical profession. Often when babies are born with both male and female genitalia, or with ambiguous genitalia, doctors leave it up to the parents to decide whether they want the child to be surgically altered into a male or female. Doctors used to suggest that this operation be done soon after birth, but the physical and psychological issues have actually been shown to be quite severe.
I don’t know what the answer is. Leaving the child intersex could cause the child to grow up feeling like an outcast, but giving them surgery to correct ambiguous genitalia can also lead to problems, and sometimes the child will end up having issues when entering puberty related to hormones and such. There is also a sufficient body of research that suggests many people who underwent genital “corrective” surgery as infants are extremely unhappy with the result.
This is a rare condition, but it DOES exist and it does need to be talked about. Somewhere around 1 in 1500-2000 births results in an intersex child
source]. That’s a lot of people of all age groups that have been affected by this, and there isn’t a clear solution.
A bit of food for thought based on current research:
here