ST. PETERSBURG, RUSSIA - JUNE 20, 2018: Mexican football fan with national flag at FIFA Fan Fest in Saint Petersburg during FIFA World Cup Russia 2018. The city host 7 matches of FIFA World Cup

A North Carolina high school student was denied his diploma for wearing a Mexican flag to the graduation ceremony.

On graduation day at Asheboro High School, Ever Lopez wore the flag draped over his gown. He said it was a way to show his pride in being the first person in his family to graduate from high school.

But at the ceremony, school administration told Lopez he had violated their dress code and refused to give him his diploma. Recorded by Lopez’s cousin, the video of the incident showed him walk up on stage, talk to a few people, and walk off stage without his diploma. This video quickly went viral on Twitter, with a small protest held the next day outside the school.

Asheboro High School said the issue was the violation of the dress code, not the Mexican flag itself. In their statement on the incident, they also claimed that students were only allowed to decorate their mortarboards.

School officials say they are working with the family to “resolve the issue”.

Is it right to hold a student’s diploma after they graduate?

Sources: WRAL and USA Today

READ NEXT: Pharrell Opens Up About How His Cousin Was A Victim of Police Brutality