From crisis to cooperation: how the EU handled the troubled