Earlier quoted context omitted.
Discrimination is a fuzzy word.. Is-it discrimination to forbid trans-women to participate in the same sports category as bio-women?
A blanket ban would be I think. Having a blanket ban demonstrates that you are judging transgender people on their transgender status alone, rather than making an evidence-based assessment of whether a particular athlete has an unfair advantage. The International Olympic Committee, for example, has a framework for precisely this (you can read it here, it's pretty easy going: https://stillmed.olympics.com/media/Docume…
No, by their sex - just like everyone else.