And if the student actually utters the words "there is no god but Allah and Mohammed is his prophet", it doesn't matter if he was role-playing, the Muslims will count him as officially converted to Islam and apostasy is punishable by death.
Had teachers inculcated students with Nazi or Shinto precepts in World War II, they would have been charged with treason.