The teen girl dress-code police have struck again. But when educators in North Carolina sent high school senior Violet Burkhart home on the last day of class over her outfit’s length, they probably didn’t expect the girl’s mother, Amy Redwine, to come up with such a creative response. In order to protest the school’s humiliating actions, Redwine decided to wear the supposedly offensive dress to her daughter’s graduation.

On her final day of high school, Violet Burkhart wore a pretty flowered sundress—one that she’d worn to class several times before. But two hours before dismissal, teachers at Central Davidson High School in Lexington, about a half hour south of Winston-Salem, stopped the straight-A student in the hallway. In front of everyone, the educators measured the length of Burkhart’s outfit, declared it to be a half inch too short and sent the 17-year-old home to change.

That kind of shaming is pretty mortifying for any teen to endure, and Redwine couldn’t believe the school would do such a thing.

“I literally looked back at the clock and I’m thinking, it’s one o’clock in the afternoon on her last day of her senior year. My daughter—it’s supposed to be one of her best days, and she’s there crying,” Redwine told MyFox8 in Greensboro.

The outraged mom told the station that if the dress, which has a hem that ended just above the knee, had been too short for school, she wouldn’t have allowed her daughter to wear it.

“If her dress is too short, then my dress is too short, and I’m going to wear it in front of everybody and be proud just like she should have been able to on her last day,” Redwine vowed. And that’s exactly what the mother did. She showed up to her daughter’s graduation ceremony last Saturday wearing the supposedly offending outfit.

“A lot of people were surprised, but a lot of people were proud of what she did,” Burkhart told FoxNews.com on Sunday. “I was very proud. She stood up for what she believed was right, also.”

Burkhart’s dismissal is just the latest in a slew of incidents where educators enforcing school dress codes have publicly embarrassed female students over their outfits. Earlier this month, a Utah high school caused controversy after using Photoshop to change girls’ yearbook photos by raising necklines and adding sleeves to their photos. And in Montreal, two administrators came into classrooms and checked the length of girls’ clothing. After being sent home, a 15-year-old female student launched a scathing protest campaign and challenged the school to pay more attention to the sexist behavior of boys on campus.

However, plenty of attendees at Sunday’s graduation in North Carolina had nothing but applause for the supportive mom’s decision. “People were coming up to me saying ‘thank you’ and giving me hugs and complimenting the dress,” Redwine told Yahoo Shine. “Several moms told me they were going to wear the shortest dress they had. Even some teachers told me they were going to wear short dresses. You know it meant something. It meant standing up to the school board, to the bullies, standing up for my daughter.”