This is really tricky.
Taking Semenya as the example she can't compete against men because their testosterone levels will be far higher so she would be disadvantaged.
Women competing against her would be at a disadvantage as Semenya's testosterone level would be much higher.
I suppose asking...