If that is the case it is indeed unconstitutional. The most appropriate action would then be to call for the end of the other displays. Two wrongs do not make a right.
I can live with discipline and good order in the school. No messages or all messages that don't break obscentiy laws in the locale.
But only after this particular principal is suitably chastised for his callous disregard of the First Amendment.