The Federal Administrative Court of Germany has decided that Muslim students cannot be exempt from swimming classes, reports Frankfurter Allgemeine Zeitung.

The court issued the ruling in response to a case taken by the family of a 13-year-old girl in Frankfurt, which refused, for religious reasons, to allow their daughter attend swimming lessons with her class.

At the same time, the judges in Leipzig concluded that the wearing of burkinis, which fully cover swimmers’ hair and bodies, was acceptable, because, the garments represent “a compromise between the state’s obligation to provide education and religious freedom.”