President Emmanuel Macron has called for similar legislation to be adopted throughout the European Union.