Is it gender, or is it sex, that matters? This is exactly the point, that it is sex that matters, and specific ruling for intersex conditions also matters.