The Czech Republic, Hungary and Poland all breached EU law by failing to relocate asylum-seekers to their soil, the European Court of Justice ruled on Thursday.

“By refusing to comply with the temporary mechanism for the relocation of applicants for international protection, Poland, Hungary and the Czech Republic have failed to fulfil their obligations under European Union law,” said the court ruling.

“Those Member States can rely neither on their responsibilities concerning the maintenance of law and order and the safeguarding of internal security, nor on the alleged malfunctioning of the relocation mechanism to avoid implementing that mechanism,” it

Read more: 3 countries breached EU law over asylum-seekers