Hungary’s new law on “protecting national sovereignty”, which the ruling Fidesz party said was necessary to protect against foreign political interference, violates European Union law, the European Commission said on Wednesday.