Coping with certain rules

Hey guys, I'm a newly qualified Science teacher doing my first year as an ECT. Teaching in a standard sort of academy and enjoying it so far.

One aspect I struggle with is certain rules in the school that I'm expected to enforce that almost feel like they interfere with education. I have pretty good behaviour overall and while I'd consider myself a laid back teacher my students mostly produce good work and respect me. I had another teacher come into my room and see a girl with her coat folded up on her lap under the table while she was completing her work (to a high standard). This teacher genuinely started screaming at her to take it off and that she "knows the rules" and she responded saying "sorry sir I was just cold" and then he proceeded to take her out of the room etc.

I can understand certain rules but sometimes I feel like there's a balance between enforcing things and also knowing when education is going to be affected. Sometimes it feels like arbitrary rules come above student experience.

Any of you struggle with anything like that?