Sadly there's a worse one, but I feel this one fits the thread better.
Of course all schools have a no hat policy, which I respected, although I love my hats.
I was in middle school (6-8 grade), and my older sister was a senior in highschool. We went to pick her up after school, but we drove to the wrong side of the building (there are 2 sides for pick up, she was on the opposite side with some friends). Because it's impossible to get out of line, and over to the other side, my mom asked me to walk to the other side of the building and get her.
So, I've got my jacket, and my hat, I didn't take them off because I don't even go to this school, and it's after 3, and I just have no reason to. I walk by all these kids who are much older than me, I don't even look like I belong, and walk inside. I'm almost out the other door, I see my sister, when I'm stopped by a teacher," Excuse me, what are you doing?"
I stopped, thinking I'm in trouble for trespassing or something, made sense to me in the moment. I looked at her and said," getting my sister?"
" What are you wearing?"
" Um... Clothes?"
" Hats are against dress code, take it off, or I'll write you up."
I just shook my head, because I don't have to follow dress code, I don't go to school here. I told her, but she didn't believe me. She asked for my name and told me to be in the principal's office in the morning, I said okay.
So, probably that.