Sure, I'll start with this:
"Sex doesn’t ‘develop in a person’; it is set at the moment of conception. The brain doesn’t ’read the body’; it is part of the body. A girl born with anencephaly is still a girl (though will never live to become a woman)."
Conception sets the chromosomes, not the result — gonads, genitals, hormones and brain all develop later and don’t always follow them, which is why some XY people have female bodies.
The brain being part of the body doesn’t stop it representing the body; that’s what proprioception is, and why amputees feel limbs they no longer have.
And yes, a baby without a brain can be classified female by anatomy — the classification being made by someone else’s brain :) — nobody disputes that. Everyone gets assigned a sex by others. For those of us with a brain, that assignment doesn’t always match the sex we recognise ourselves to be.