I think we’re being kind?
A baby born with a female appearance who still appears female but is discovered to have male chromosomes only when menses don’t begin, who is unable to respond to exogenous testosterone and thus couldn’t have the male phenotype to match the male genotype even with medical intervention is legally female (registered at birth) and socially female (socialised as a girl) (deffo CAIS, probably Swyers too?)
With 5ARD the male phenotype devolops over time, often without any medical intervention at all. Some individuals with 5ARD can even father their own kids, so deffo not female by any definition (except the IOC one!)
Swyers comes with enough additional health challenges that it’s irrelevant to sport, CAIS is over represented in sport (perhaps because CAIS individuals are taller with longer limbs than average as they have the male height gene on the Y chromosome) and comes with some training advantages in that CAIS athletes will never have to arrange training and competing around menstruation/childbirth/breast feeding etc.
5ARD seems to me to be an obvious exclusion from the female category (especially as their maleness will become apparent way before they reach the later teen years/qualify for adult competition) - I’d want to see more evidence re CAIS and sporting advantage before deciding on that one.
While I am hesitant to talk about real individuals in any detail, someone like Caster Semenya seems to me to be an obvious exclusion whereas someone like Dutee Chand likely requires more in depth medical investigation.
I think it’s worth repeating that screening tests should be done on all athletes wanting to compete in female categories LONG BEFORE the eyes of the world are on them - there is no such thing as medical privacy in top flight sports competition so to give DSD athletes the best chance at not being scrutinised in press and on social media they should be tested long before they are medal candidates at the sodding Olympic Games.