A school in the northern municipality of Therwil, in the canton of Basel, reached the controversial decision after two male students, aged 14 and 15, complained that the Swiss custom of shaking hands with the teacher is counter to their religious beliefs if the teacher is a woman.
They argued that Islam does not permit physical contact with a person of the opposite sex, with the exception of certain immediate family members.
The decision triggered an outcry across Switzerland with Justice Minister Simonetta Sommaruga insisting on Swiss public television yesterday that "shaking hands is part of our culture."
Felix Mueri, who heads the parliamentary commission on science, education and culture, meanwhile described the custom to the 20Minuten news site as "a gesture of respect and good manners."
More From This Section
Christoph Eymann, who heads the Swiss Conference of Cantonal Ministers of Education, agreed, insisting: "We cannot tolerate that women in the public service are treated differently from men."
But the canton's education chief Monica Gschwind told media she viewed the school's decision as "pragmatic" although "not a lasting solution".
Muslim groups meanwhile decried the polemic around the issue.
"One would think that the continued existence of Switzerland's core values was at stake, when this particular case in fact involves just two high school students who have said they wish to greet their teacher in a different way than with a handshake," the Islamic Central Council of Switzerland said in a statement.
The Federation of Islamic Organizations in Switzerland (FIOS) however maintained that handshakes between men and women were "theologically premissable" and were common in some Muslim countries, insisting the issue should not be problematic in Switzerland.