https://www.bbc.co.uk/sport/olympics/articles/cpwj78lxypro
‘In France - one of a number of countries where genetic testing is illegal without a medical prescription due to privacy laws - the government has condemned the decision as "a step backwards".
"It defines the female sex without taking into account the biological specificities of intersex individuals, whose sexual characteristics present natural variations, leading to a reductive and potentially stigmatising approach," claimed French Sports Minister Marina Ferrari.”
‘A group of legal experts in human rights and sports have since expressed, external"urgent concern" about what they called "the regressive move toward genetic testing as a precondition of participation in women's sport" which they say "violate domestic and international laws that protect human rights and regulate the use of genetic testing and genetic information".
The group has called on athletes "to challenge the national or regional implementation of mandatory genetic sex testing, demanded by the IOC or international federations, before domestic courts, by invoking national or regional laws protecting human rights, prohibiting anti-discrimination, and regulating the use of genetic testing and genetic data".’
Domestic laws are more challenging for the IOC to deal with than CAS. Things could get complicated for a bit.