The framing is odd though describing it as "forced" instead of simply the school's dress code. Especially when comparing it to a case in Britain a few weeks ago where a girl was threatened [1] with legal action because her skirt was 'too long'. Or how france forces girls to remove their hijabs [2]. One can always find rhetoric to justify one's decision, what I find odd tho is how a group of people will use words like "forced" in one case but will bend over backwards to justify the same forced rulings with more euphemistic language when it's in favor of their own worldview. You'll hear "it's just the law" kind of excuses, while not realizing that their own arguments could easily be used to justify the opposing case as well.
[1] https://www.theguardian.com/education/2021/jan/12/school-thr...
[2] https://en.wikipedia.org/wiki/Islamic_scarf_controversy_in_F...