A good example of such a situation is what happened to Caster Semenya who is biologically a woman and has had her testosterone levels used against her in attempt to discredit her and her performance, despite evidence contrary to the idea that it's testosterone that gives her an unfair advantage.
And ultimately if we were to make that argument in the first place, then we should argue to limit all professional athletes (male and female) by testosterone level as it is not a consistent thing in either men or women rather than using it as a bludgeon against specifically transgender athletes.