Story highlights Couple refused to send their daughters to school swimming lessons

Court rules "successful social integration" takes precedence over parents' wishes

Photos: Burqa, hijab, niqab: What's what? Photos: Burqa, hijab, niqab: What's what? Do you know the difference between a hijab and a niqab? How about a burqa and a chador? Click through to read about the different types of headscarves some Muslim women wear. Hide Caption 1 of 6 Photos: Burqa, hijab, niqab: What's what? Hijab: The scarf worn tightly around the head and neck does not cover the face. It is the most common Islamic head covering. This Indonesian girl is shopping for a hijab in Yogyakarta. Hide Caption 2 of 6 Photos: Burqa, hijab, niqab: What's what? Burkini: The full-body swimsuit worn by Muslim women leaves only the face, hands and feet exposed. Here a woman in a burkini wades in the water with a child at Ghar El Melh beach in Tunisia. Hide Caption 3 of 6 Photos: Burqa, hijab, niqab: What's what? Burqa: This full-body garment has a mesh over the eyes. The burqa is widely used in Afghanistan and was required under the Taliban. These Afghan women are shopping in Herat. Hide Caption 4 of 6 Photos: Burqa, hijab, niqab: What's what? Niqab: The full-face veil exposes only the eyes. A Palestinian bride in Jericho wears this one. Hide Caption 5 of 6 Photos: Burqa, hijab, niqab: What's what? Chador: The full-body black garment leaves the face exposed. These Iranian women are wearing chadors at a political meeting in Tehran. Hide Caption 6 of 6

(CNN) A Swiss couple had no legal grounds for keeping their Muslim daughters out of mandatory swim classes with boys at their co-ed school, the European Court of Human Rights has ruled.

Aziz Osmanoglu and Sehabat Kocabas, who also are Turkish nationals, refused for religious reasons to send their two daughters to swimming lessons at their school in Basel, Switzerland.

The parents, who have been pressing this case for nearly a decade, argued that sending their children to swimming lessons with boys contravened Article 9 of the European Convention on Human Rights -- the right to freedom of thought, conscience and religion.

But the court on Tuesday rejected the argument, stating that "school played a special role in the process of social integration."

Court: 'Integration' a priority

Read More