The Charter of Fundamental Rights of the European Union enshrines certain political, social, and economic rights for European Union citizens and residents into EU law. From Wikipedia
The court found the state failed to provide adequate accommodation, violating the EU Charter of Fundamental Rights.