Also EU can't actually make any laws it makes directives that are then up to each member state to implement on their own. It also has no police/military/force to actually enforce that the member states implement the directives. Basically everything is very much about cooperation or finding a compromise everyone can agree on as there is no way to force anyone to do anything really (outside of cutting away EU funding but then the member state can also stop paying their dues which does not work for most of the big states as they pay more then they get back)
The thing where EU has power and actual means to enforce things is the reason it was originally created for. Trade.