THE Brexit divorce deal which Theresa May negotiated with the European Union, and largely hailed as a success, still appears to be far from a final one, as leading politicians clashed over the fine print and the SNP warning of “massive danger” on the agreement.

The deal, signed off in Brussels in the early hours of Friday morning, agreed a leaving bill of £40 billion, vowed there would be no hard border between the north and south of Ireland, and protected the rights of EU citizens in the UK and UK citizens in the EU.

However, all of these apparent commitments are only ambitions until all negotiations, including the forthcoming trade talks, are successfully concluded. Or as the joint agreement spells it out in the preamble, “nothing is agreed until everything is agreed”.

Last night divisions between Tory Brexiteers and Remainers were beginning to emerge, with some calling the deal a "fudge" while former Ukip leader Nigel Farage predicting "a lot more Conservative voices ... saying, actually, they are not happy with what's happened."

The agreement will be tested at May’s Cabinet meeting on December 19, where she is expected to confront Foreign Secretary Boris Johnson, Brexit negotiator David Davis and Environment Secretary Michael Gove and demand their backing on her negotiating position.

It now seems that there are now only three likely outcomes, a so-called soft Brexit – or as the UK Government calls it "full alignment" – a Norwegian or Canadian ad hoc deal, or, if the Cabinet Brexiteers rebel, the hard Brexit. All are fraught with difficulty.

Under full alignment (a deliberately vague description), open borders – which is an EU requirement – would cross a red line for the Brexiteers; the Norwegian model is conditional on the free movement of labour; and the Canadian arrangement, purely on trade, took years to negotiate.

Last night SNP leader at Westminster Ian Blackford warned of a remaining “massive danger” despite Downing Street’s claim of a breakthrough, stressing that talks must focus on retaining the UK’s access to the Single Market, which May has already ruled out. “The talks have got to get beyond the terms of the trade deal and include provision to keep us in the Single Market.”

The EU’s chief negotiator Michel Barnier is clear this cannot happen. “The Single Market is a set of rules and standards and is a shared jurisdiction. Its integrity is non-negotiable, as is the autonomy of decisions of the 27. Either you’re in or you’re out,” he said.

Philippe Lamberts MEP, a member of the European parliament’s Brexit steering committee, believes that a Norwegian-style relationship with the Single Market could favour the DUP, who early last week thwarted May’s first agreement.

He said: “Remaining in the Single Market is the best option from a democratic standpoint. It’s a really good place to be as a British citizen and I think the DUP would be okay with the Norwegian option.” Adding: “It’s the best option for Scotland, given the fact that Scotland voted to remain.”

However, as part of the deal Norway has to open its borders for EU citizens, which Johnson, Davis and Gove have refused to countenance.

Dr Kirsty Hughes, director of the Scottish Centre on European Relations, meanwhile believes that the UK Government will still pursue a harder version of Brexit. She said: “The UK doesn’t want a Norway-style deal with a regulatory framework. It could be a Canadian-style deal.”

Barnier has warned that Britain can expect a trade deal little better than the Canadian one and that would take years to negotiate.

Liberal Democrat MSP Mike Rumbles said: “Thanks to the DUP intransigence and unreasonable behaviour Theresa May had no option but to take on the hard Brexiteers in her own Cabinet. It may lead to a more liberal arrangement between the UK and the EU.”

Former Labour First Minister Henry McLeish echoed Rumbles statement. “We are now in such a mess that the DUP may inadvertently done the remaining cause the world of good. It’s exposed the crisis of what’s happening. The historic irony is that their desire to stay within the UK could lead to the UK staying in the Single Market. It may be that the DUP has unintentionally done everyone else a favour with its stubbornness.”

Leading Cabinet Brexiteer Gove has said voters will be able to force changes to an EU withdrawal deal at the next election if they do not like it. Writing in the Daily Telegraph, Mr Gove said: "The British people will be in control. If the British people dislike the agreement that we have negotiated with the EU, the agreement will allow a future government to diverge."

The Environment Secretary said that after a transition period, the UK would have "full freedom to diverge from EU law on the single market and customs union". Sources close to Gove said the article had been encouraged and signed-off on by Downing Street. The Cabinet is set to finally discuss what the UK's post-Brexit "end state" relationship with the EU should be at the December 19 meeting.

The gathering is expected to see prominent leave campaigners such as Gove and Johnson argue their Brexit version of withdrawal against the softer stance taken by Chancellor Philip Hammond and Home Secretary Amber Rudd.

Former Tory leader Iain Duncan Smith said this week's events proved the EU wanted a free trade deal with the UK.

Farage meanwhile predicted that Tory anger at May's agreement would emerge over the weekend. He said: "I think that within the next 48 hours you will hear a lot more Conservative voices ... saying, actually, they are not happy with what's happened."

Proposals allowing the European Court of Justice a role in overseeing EU citizens' rights in Britain for eight years after Brexit have caused concern to some Tories, as well as a compromise on the Irish border issue which stated that if no trade deal is reached, the UK as a whole will maintain "full alignment" with elements of the EU Single Market and Customs Union, which support the economy of the island of Ireland and the Good Friday Agreement.

Justice Minister Dominic Raab said the details of how to deal with the issue of the Irish border had still to be worked out in full.

He said: "You can call it strategic ambiguity, you can call it constructive ambiguity ... what I am admitting to you, very openly, and honestly, is that we have agreed principles, but that the details still need to be ironed out on this very bespoke set of issues around Northern Ireland which can't be dealt with properly and responsibly outside of the context of the broader negotiation on customs and trade and all of those other things we have said all along."

Labour's shadow international trade secretary Barry Gardiner said the agreement on the Irish border issue was a "fudge".