I am genuinely stunned at the number of people here who think that "but the men have to wear pants/trousers!" is a sensible response.
Do they really think that the situations are symmetric? That being told to wear pants is equivalent to being told to wear a short skirt and heels? Or more importantly that the power relationship is symmetric - that a company notorious for forcing out women from positions of leadership needs to be better about how it tells women to dress?
I'm sure the MRA idiots will be along to upbraid for me my "Political Correctness" any moment. For the record whenever I hear somebody use that phrase, I mentally edit it to "Waaahhh! I can't be as carelessly sexist, racist, and bigoted out loud as I was in the old days. People need to be less sensitive about my rudeness!"