Doing something to playfully point out the silliness of the policy…or she could sue. Seems like she did the less extra of those two options.
I have a friend who was upset he couldn’t wear shorts to the office while women could wear capri pants…he found women’s capri pants in his size and wore them. I guess he’s extra as well?