Well it IS discriminatory - against the 99% of the population that do not want to urinate with the troubled people who think they are a different gender.
Urinating is not the only thing women do in their restrooms.