Now the government has published the Withdrawal Agreement Bill (WAB).
Its purpose? To turn the withdrawal agreement, which is a draft international treaty, into UK law and to give the government permission to ratify it.
The terms on which the UK will leave the EU have now been agreed between Boris Johnson’s government and those of the other 27 member states.
Theresa May’s government got to the same stage, but failed to win approval in Parliament for the settlement it had negotiated.
Mr Johnson hopes to go one better, by turning the agreement into legislation and getting the House of Commons to approve it in just three days
That’s because he wants to fulfil his promise to leave the EU by 31 October, which is a tough ask, to say the least.
Bills to implement major European treaties usually take several weeks to get through Parliament, and sometimes considerably longer.
If the government had a solid majority in the House of Commons, it could push the bill through pretty quickly. But it doesn’t, and its opponents may well insist on more time to scrutinise the legislation properly.
It is, they argue, one of the most important pieces of legislation in decades, and MPs need to be sure they know exactly what it says and does.
So what does the WAB actually cover? Among other things:
- It sets out exactly how the UK will make “divorce bill” payments to the EU for years to come
- It repeals the European Communities Act, which took the UK into the EU, but then reinstates it immediately for as long as a post-Brexit transition period lasts
- It contains language on how the new protocol on Ireland – setting up a customs and regulatory border between Northern Ireland and Great Britain – will work in practice. An accompanying impact assessment lays out some of the costs and bureaucracy that companies doing business in Northern Ireland will face
- It sets out areas in which the European Court of Justice still plays a role in the UK, and makes the withdrawal agreement in some respects “supreme” over other areas of UK law
- Its language on workers’ rights – an important issue for many MPs – is pretty vague, because Mr Johnson’s deal moves obligations in this area from the withdrawal agreement to the non-binding political declaration on future relations
- It suggests that if the government doesn’t ask for an extension of the transition period beyond the end of 2020, parliament won’t have a say in changing that, even if a free trade deal isn’t ready in time
- In the section on citizens’ rights it sets up an independent monitoring authority (IMA) with which EU nationals in the UK can lodge any complaints about the way the government treats them
There will be a critical vote on the evening of Tuesday 22 October – lose that, and MPs may insist on taking longer to scrutinise the legislation. The 31 October deadline could start to slip away.
Even if the government wins that vote, there will still be opportunities for the legislation to be amended. It’s expected some MPs will try to add a provision for holding a confirmatory referendum on Brexit, for example, and for the UK to remain in a customs union with the EU.
Another amendment could insist that the UK cannot leave the EU with no deal at the end of the transition period.
All of these are controversial topics.
That’s why the WAB is tricky for the government: sensitive issues which can be fudged a bit in political communications have to be set down in black and white – and in precise legal language – for all to see.
It’s another reason why time could be working against Boris Johnson and his “do or die” pledge to leave the EU at the end of October.
The government still insists that it has the numbers to get this legislation through Parliament.
If it fails to do that in time, then the default position is currently that the UK would leave the EU without a deal on 31 October.
But under the terms of the Benn Act the Prime Minister has now sent a letter to European Council President Donald Tusk making a formal request for an extension to the Brexit process until 31 January 2020.
The EU will watch events in Westminster closely over the next few days, before deciding how to respond to the extension request.