A middle school student in Florida was allegedly asked to turn his T-shirt inside out after dressing like a “Republican nerd” during Spirit Week.

The unnamed Jacksonville student chose to wear a red shirt with a white and blue Republican elephant logo to Kirby-Smith Middle School last week during the school’s “Nerd Day,” WJXT reports.

“It was Nerd Day, so he wanted to be a Republican nerd,” the student’s mother told the news station.

Her son went to school wearing the outfit, but when he returned home, he said a member of the faculty had told him to turn the shirt inside out.

The outraged mother said she wanted to know why the school had asked her son to turn his shirt around, when it did not appear to violate the dress code.

The Duval County Public Schools’ dress code prohibits students from wearing “any clothing or display any items which are obscene, profane, suggestive or derogatory to others,” along with nothing promoting “illegal substances or which create an atmosphere which may incite inflammatory behavior.”

In a comment to Fox News, the school said the student had not broken the dress code and that the student did not receive a dress code violation for the shirt.

According to the spokesperson for the school district, the staff member had misunderstood the difference between the employee dress code and the student dress code — employees are not allowed to wear politically charged shirts on the job.

Related: Three GOP Black Interns: Uber Denied Us a Ride Because of Our Trump Support

The teacher suggested the student turn his shirt inside out after discussing this dress code.

Who do you think would win the Presidency?

By completing the poll, you agree to receive emails from LifeZette, occasional offers from our partners and that you've read and agree to our privacy policy and legal statement.

However, the staff member did not see the student turn his shirt inside out and did not pursue the matter further after the conversation.

The school reportedly contacted the student’s family to apologize.

The student’s mom told WJXT her son likely will wear the shirt to school again.

This Fox News piece is used by permission.

Read more at Fox News:
Hyperloop’s First Full-Scale Passenger Capsule Revealed
American Pastor Detained in Turkey Is Freed
Why Midterm Election Results Won’t Crush Trump’s Results