Spanish downgrade is a timely warning shot for EU leaders