If you segregate by sex alone then trans men get a big advantage.
A trans man who was not taking HRT could compete, though.
The key distinction is that gender identity is not what's being tested.
Wouldn't they be barred based on using banned substances?
This would be like if two trans women, who has not undergone any hormone replacement therapy or surgery, would compete in men's divisions.