I'm with the school on this one. Dress codes are there for a reason. To keep a certain decorum that encourages a safe learning environment.
This *** and his ****** may have the right to sue, but just because you have a right to do something doesn't always mean it is a good idea.