The Tokyo High Court threw out an appeal by a teacher who was punished for refusing to play the national anthem on the piano at a school function.
Here is a quote from the presiding judge.
"Public servants' freedom of thought and conscience are subject to restraint when working."
I sure am glad I quit my job as a teacher at Prefectural University of Kumamoto. I may have had my thought and conscience restrained.
Japan Today - News - High court upholds reprimand to teacher over anthem