It doesn't work like that. The EU is established by the states and only has the authority to do what is delegated by the member states to the EU.