In its ruling Tuesday, the court said the 2018 legislation violates E.U. law, as it “restricts, first, the right of access to applicants for international protection and the right to communicate with those persons and, second, the effectiveness of the right afforded to asylum seekers to be able to consult, at their own expense, a legal adviser or other counsellor.”