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, who has not undergone any hormone replacement therapy or surgery, would compete in men's divisions.