Although the creation of the EU was motivated in large part to prevent the recurrence of that sort of badness, the EU does not have the power to restrain the militaries of the individual European countries. Note that the EU was shown not to have the power to compel the Italian government that came to power because of the general election of March 2018 to adhere to EU regulations on deficit spending.