As a previous poster mentioned, male and female brains are different when viewed under various imaging systems such as MRI's. If a doctor knowledgeable in this area looked at this girl's brain, without knowing all this background, and concluded that it was the brain of a boy, I think that raises some questions.
I don't think it raises any questions. If she has two X chromosomes and female genitalia, she's a female.