I am a conservative and I know the decision is illegal.
Been involved in similar incidents with websites. ALL off campus expression such as music and websites are absolutely off limits to school. The genesis of this is the underground newspapers of the 60s (love turning that back on the libs). Recent cases involving websites have resulted in the schools losing and paying.
The student selling them on campus is a legitimate target (offensive material).