This is a pretty good write up on the issues and grey areas around female testosterone levels and sports
https://sportsscientists.com/2016/05...joanna-harper/
The current laws seem to be that:
1: testosterone levels don't matter so let people like caster semanya compete
2: testosterone levels are all that matter so let trans people compete if their test levels are in range
Obviously they contradict each other hugely so at some point this will probably be challenged and the Olympic committee may have to pick a side