What would do about someone like this? https://en.wikipedia.org/wiki/Santhi_Soundarajan

That athlete was excluded from the women's competition on the basis of having male physiological advantage. Exactly what the Olympics are now doing.

Androgen insensitivity syndrome means that her cells do not react to testosterone. What male advantage is there if her cells don't react to testosterone?

Soundarajan's androgen insensitivity was reported as being partial (i.e. PAIS, and not CAIS), which implies some degree of testosterone-driven masculinization.