My Catholic high school did not require uniforms, but it did enforce a rule - girls couldn’t wear shorts or skirts shorter than 2 inches above the knee. Which, if you are a girl, you know is literally impossible to find in stores. Most of us decided either to break the rule and risk getting sent home or wear jeans even on the hottest days of fall and summer.
Senior year I finally decided, fuck it. There were only a few weeks of school left and I was tired of wearing jeans. I wore a short denim skirt with opaque tights underneath to school. During 8th period, the dean pulled me out of class to “talk” about my clothes. He said, “I am too embarrassed to even look at you right now.” He didn’t send me home to change (obviously, there were only like 20 minutes of the school day left!).
I think the dean was right to be embarrassed. He should have been ashamed that he and the other adults at my high school sexualized young girls in short skirts.
I should also point out that this is far from the most ridiculous dress code crackdown that happened at my school. Once my (very tall) friend leaned over to put something in her locker and her shirt came up a bit, showing part of the small of her back. (I note that she was tall because it was hard for her to find shirts long enough to cover her torso). Anyway, the dean happened to walk by at that moment and he gave her 10 hours of community service.