Controversial law dismissed in the EU