Brexit: EU's Barnier warns of 'long road ahead'
The EU says much work still needs to be done on Brexit, despite agreeing a draft withdrawal document with the UK.
"We still have a long road ahead of us on both sides," chief negotiator Michel Barnier said.
The EU has set out a series of meetings leading to one on 25 November where it plans to approve the Brexit agreement.
UK Prime Minister Theresa May has won the backing of her cabinet but faces a tough task getting the agreement approved by Parliament.
A sign of that came on Thursday morning when Mr Barnier's UK counterpart, Brexit Secretary Dominic Raab, resigned saying he could not "in good conscience" support the agreement. He was one of four ministers to quit.
Mrs May later defended the deal in the House of Commons, telling MPs it delivered on the Brexit referendum and provided for an orderly withdrawal.
What has the EU said and what happens next?
Mr Barnier was speaking on Thursday morning alongside EU Council head Donald Tusk as the chief negotiator formally handed over the 585-page draft withdrawal agreement.
Mr Barnier said the agreement was fair and balanced, took into account the UK's needs and laid the ground for an "ambitious new partnership".
Mr Tusk praised Mr Barnier's work and said the agreement had "secured the interests of the 27 member states and EU as a whole".
He laid out the timetable for the days ahead.
- EU member states will analyse the document and at the end of the week national envoys will share their assessments
- A political declaration on future ties between the EU and the UK will be agreed by Tuesday and members will have 48 hours to evaluate it
- The EU Council will then meet on 25 November to finalise the agreement "if nothing extraordinary happens", Mr Tusk said. The leaders of the 27 EU nations must approve the deal
Mr Tusk said: "Since the very beginning, we have had no doubt that Brexit is a lose-lose situation, and that our negotiations are only about damage control."
Addressing the UK, he added: "As much as I am sad to see you leave, I will do everything to make this farewell the least painful possible, for you and for us."
Mr Barnier later took the document to the European Parliament. Its president, Antonio Tajani, said MEPs would vote on the deal in early 2019.
If the agreement is approved by both sides, a 21-month transition period will kick in, during which a trade deal and the thorny issue of how to ensure there is no physical border between Northern Ireland - part of the UK - and the Republic of Ireland will need to be worked out.
A smooth border-free exchange underpins the peace deal that ended the Northern Ireland conflict.
The document from the EU side
The draft withdrawal agreement covers so-called "divorce" issues as the UK prepares to leave the EU. It includes a "financial settlement" from the UK, thought to be about £39bn (€45bn; $50bn).
Speaking at a press briefing in Brussels on Wednesday, Mr Barnier addressed one of the major concerns of the divorce, the Irish "hard border" issue.
He said that to avoid the need for physical checks on goods or infrastructure at the border between Northern Ireland and the Republic of Ireland, the EU would work with the UK to agree a trade deal. However if talks fail, the so-called "backstop" measure would be used.
Both sides have resolved to ensure the backstop is not necessary by coming up with alternative arrangements.
"If we are not ready by 2020, we can extend the provision so we have more time, and if we are still not there with the future agreement after this, the backstop agreement would kick in," he said.
"There will be a UK-wide single customs territory which Northern Ireland will remain in, and Northern Ireland will remain aligned to the rules of a single market essential for avoiding a border including on agriculture policy."
The draft withdrawal agreement states that the transition period may be extended by mutual consent.
Mr Barnier said that any extension would by a one-off, "by a limited period and by joint agreement".
During the transition, the UK will be out of the EU. It will have no voting rights but will continue to abide by the majority of its rules.
There are also special protocols in place for Gibraltar and Cyprus to enable people there "to continue to live as they do today", Mr Barnier added.
Spain has longstanding claims to the British Overseas Territory of Gibraltar and the deal sets out bilateral co-operation on customs, policing, trade, taxation and citizens' rights.
The UK has sovereign military bases in Cyprus. EU law will continue to apply at the bases, with the deal securing the rights of the 11,000 Cypriot civilians working there.
Analysis by BBC Europe editor, Katya Adler
The EU knows there is a very real possibility the Brexit deal could be voted down by the UK Parliament in a few weeks' time.
I put the question to Michel Barnier on Wednesday night at his press conference - but, skilled politician that he is, he refused to engage.
Brussels is very keen indeed not to give the impression that the EU might change or come up with a "better" Brexit deal text if this one ends up being rejected in the House of Commons.
Mr Barnier quoted Theresa May as saying that this is a deal in the UK's interest.
How have other European leaders reacted?
German Chancellor Angela Merkel on Thursday welcomed the draft agreement, saying: "I am very happy that, after lengthy and not always easy negotiations, a proposal could be reached."
The European Parliament's Brexit chief Guy Verhofstadt said the deal had been hammered out after two years of "intense negotiations" and he hoped UK MPs would accept that "there is not a lot of room [for] manoeuvre to say, 'OK, let's start again'".
French Finance Minister Bruno Le Maire said the deal was "good news for the French economy" but also issued caution, saying the UK must be made to respect all EU rules.
Finland's Prime Minister Juha Sipila tweeted to say that while Wednesday's developments were important, "decisions on both sides are still needed for a final agreement".
Austrian Chancellor Sebastian Kurz said he was "very pleased", adding: "The result is a good one."