World Athletics' policymakers are well aware of this, and it is addressed in the article where it discusses eligibility for the female category:
"Biological males who have Complete Androgen Insensitivity Syndrome and therefore have not gone through male sexual development including any type of male puberty."
https://novonordiskfonden.dk/en/news/more-women-than-expecte...
Biology of gender is way more complicated than what you learned in grade school.