It depends a lot on the categorisation of gender and the sport in question
Fair sport competition should be a platform based on physical conditioning and so is independent of gender, for some sports such as weightlifting a fair determination of categories could be weight class.