The European Union has always prided itself on the rule of law and the careful distribution of powers among its institutions.