When "they" is the group you are showing respect to, yes.OK, so just do whatever "they" tell me? Will do.
And this is a pretty black and white issue. I don't see the gray at all. Students have first amendment rights. Students should obey their teachers for classroom discipline purposes. To accommodate both parties, the students, out of respect for their first amendment rights, should not be ordered to participate in any way but at the same time cannot be disruptive to the learning environment. Sitting quietly accommodates everyone quite nicely.
If I went to a nation where I was expected to act a certain way when a song was played because it was polite to do so. I would. Because it doesn't hurt me to be polite, nor make me believe in their magic-man.