That's an interesting point.
With the hormone treatment transgengers go through, would a female transitioning to a male have higher levels of male hormones than a male transitioning to a female, thus making it unfair for them to play in the team corresponding to their birth gender?
If men are always men and must compete in men's events, a woman must always be a woman and compete in women's events, even if their testosterone levels are sky high.