'Legislation can be done at the national level if it's compatible with EU law,' European Commission spokesperson says