What you would do is apply an objective standard for determining whether Semenya is a man or a woman rather than just taking her word for it. The problem with allowing hermaphrodites with male testosterone levels to compete with normal women is that it’s unfair to normal women.
I would define who can compete in women’s events by testosterone levels. That’s simple and gets to the heart of why we have parallel events.