Brexit: EU agrees breathing space for UK
By the time the 27 EU leaders emerged at their Brussels summit, bleary-eyed from hours of bad-tempered debate about delaying Brexit, it became clear that they had "done a May".
By that, I mean they had managed to kick the Brexit crunch-time can another couple of weeks down the road - something Theresa May has become famous for throughout the Brexit process.
"12 April is the new 29 March," announced one Brussels official, although it's not quite as straightforward as that.
EU leaders have essentially granted the UK a no-strings-attached short Brexit delay until 12 April.
By 12 April either Theresa May's Brexit deal has to have been passed by the House of Commons - in which case the UK would have until 22 May to ratify it - or she must inform the EU of alternative plans.
European Council President Donald Tusk pronounced himself to be "far more optimistic now" than he had been at the start of the summit, when a dark tunnel seemed to be closing in on EU leaders.
Left up to Theresa May, it seemed to them, a no-deal Brexit loomed - something they had always been so keen to avoid.
Fears deepened after leaders questioned the prime minister for more than an hour on Thursday afternoon.
- 'Cancel Brexit' petition passes 2m signatures
- Your really simple guide to Brexit
- Brexit: What could happen next?
"She offered nothing new, nothing leaders didn't already know," a European official close to the talks told me.
With only eight days to go until scheduled Brexit day, what worried EU leaders most was Mrs May's inability - or refusal - to answer their insistent question: what will you do if the Brexit deal fails to get through parliament next week?
It was then that EU leaders decided they had to take control over the situation if they hoped to head off a no-deal Brexit. Earlier in the day, German Chancellor Angela Merkel had already promised to work "until the very last moment" to avoid it.
But, with emotions running high and with conflicting opinions about the length of an extension and the conditions to be attached, EU unity, which leaders had been so proud of throughout the Brexit process, began to fray. Contradictory smoke signals leaked out of the talks, bamboozling journalists waiting eagerly outside.
A diplomatic contact from a country traditionally close to the UK described the scene to me as: "Messy. Really messy in there."
Complicating factors were the varying degrees to which a no-deal Brexit would affect different countries - with close UK neighbours Belgium and the Netherlands extremely concerned.
Upcoming Belgian elections also came into play, as did elections to the European parliament, French President Emmanuel Macron's uncompromising mood and the worry of a delayed Brexit throwing a spanner in the works of important business like agreeing the next EU budget.
Finally, though, EU consensus was reached.
Theresa May was informed and didn't object (not that she had much choice - she asked for and needs an extension).
The EU plan was a clever one, essentially putting all Brexit options back on the table - deal, no deal, no Brexit or a longer extension which would allow the UK to take a different path if it so chooses - whether a general election, a second referendum or opting for a softer Brexit.
And by taking away the conditionality from the short extension - if you remember, Brussels originally said the prime minister could only have a short extension if parliament approved the Brexit deal next week - EU leaders removed a reason some Eurosceptic MPs said they wouldn't vote for Theresa May's Brexit deal: because the EU told them they had to.
The 12 April date also allows (just) enough time, if the Brexit deal fails to pass again next week, for Mrs May to consider what next - whether to hold the promised indicative votes for MPs to signal their preferred alternative way forward or to allow parliament to take control of events.
Once again, the drama now moves from Brussels back to Westminster.
EU leaders are well aware a no-deal Brexit hasn't been averted indefinitely. But they've got themselves a bit of a breather.