EU withdrawal bill: What challenges await the government?
After being defeated 15 times in the House of Lords, the Brexit bill - or EU Withdrawal Bill to give it its formal title - will return to the House of Commons on Tuesday and Wednesday.
With so much to cram in, what potential flashpoints and challenges will the government have to face?
What is it?
The Bill is a very important piece of legislation that will repeal the 1972 European Communities Act (which took the UK into what was then known as the European Community) and copy all existing EU legislation into UK law in order to prevent chaos on the day we leave.
It has also provided Parliament with an opportunity to shape the course Brexit will take.
For instance, in December 2017, MPs voted to amend the Bill and ensure Parliament has a legal guarantee of a vote on the final Brexit deal struck with Brussels. The Bill then went to the House of Lords where peers defeated the government another 15 times and voted for their own changes to the Bill.
Now, in the final stage of the Withdrawal Bill's passage through Parliament, those changes will be considered by MPs in a rammed day of potentially dramatic votes on 12 June.
- Keir Starmer defends 'divided' Labour on Brexit
- EU Withdrawal bill suffers 15th defeat in Lords
- Reality Check: Why is the customs union so important?
Because if enough Tory MPs decide to vote with Labour and other opposition parties, the government could be defeated on several key votes.
Theresa May's tiny working majority in the Commons is only 14 and that relies on the support of Northern Ireland's Democratic Unionist party and their 10 MPs.
Last December, 11 Conservative MPs voted with opposition parties to defeat the government by only four votes and the question is how many will do so next week.
Number 10 has insisted it wants to overturn the Lords amendments, but it might struggle with two of them in particular that deal with Parliament's role at the end of the Brexit negotiations and the UK's future customs arrangements.
What's the customs proposal?
While the Cabinet has been trying - and struggling so far - to work out a proposal to put to the EU on the UK's future trading relationship, Parliament has been doing its own thinking.
The House of Lords said ministers should take steps to negotiate a new customs union with the EU - something Number 10 has ruled out.
Peers passed an amendment requiring the government to demonstrate to Parliament by October that it had tried to negotiate a customs union.
Remaining in such an arrangement after Brexit is now Labour's position and a number of Tory MPs (probably more than the 11 who rebelled in December) are sympathetic to the argument that a new customs union could be the best way of reducing border friction after Brexit.
The question is whether they rebel against the government on Tuesday or wait until after the European Council summit later this month, when they could try to amend the Trade Bill instead.
A defeat for Mrs May on this next week would certainly be a blow for the government but it would not bind its negotiating hand.
The fuzziness of the amendment's wording might mean the government just accepts it and ducks the possibility of defeat.
However, that would also amplify the sense there is currently a hole where the government's own customs plan should be.
What about the single market?
Peers did vote to keep the UK in the European Economic Area (EEA) after Brexit, similar to Norway's arrangement with the EU - which is to be in the single market (and accept obligations like the free movement of people and paying towards the EU budget) but not in the EU's customs union.
Again, this is a massive red line for the government which insists the UK will leave the single market.
Ministers should be confident of overturning this in the Commons because the Labour leadership is opposed to EEA membership and accepting continued free movement of people.
However, we are likely to see a number of MPs such as Labour's Chuka Umunna and the the Conservative Anna Soubry join forces to vote for this amendment.
Tuesday will give a good sense of how effective cross-party co-operation is among Remain-supporting MPs who argue Parliament must keep the UK as close as possible to the EU after Brexit.
But hasn't Labour put down its own amendment on the single market?
It has, calling on ministers to negotiate a new "single-market deal" to ensure "full access" to the EU's internal market.
Labour hopes this will send a signal to voters that it would try to bind the UK much more closely to the single market than the government.
But Labour's leadership also hopes this new amendment will limit the rebellion among its ranks on the Lords' European Economic Area (EEA) amendment.
Labour will whip its MPs to abstain on that vote but we could still see dozens of Jeremy Corbyn's team back the "Norway option" of single market membership because they don't think their party's new amendment amounts to much.
For a start, Conservative MPs would never vote for a proposal put forward by the Labour front bench.
Secondly, they argue that participating in the EEA is the only way to gain membership of the single market and that anything else is merely posturing.
Labour is navigating its own internal divisions over Brexit.
Which amendment is the government fretting about most?
The one that puts MPs in the driving seat if the House of Commons rejects the final Brexit divorce deal.
We already know there will be a "meaningful vote" in the Commons when negotiations with the EU have wrapped up.
The government says it will be a take it or leave it moment for Parliament to either accept or reject the deal on the table.
But the Lords amendment states that MPs will have the power to "direct the government in their actions" if Parliament rejects the deal.
It would open the possibility of MPs ordering ministers to carry on negotiating instead of leaving the EU without an agreement.
The government and Tory Brexiteers are determined to kill this off.
Number 10 has tabled its own amendment to the bill.
It pledges that the government will deliver a statement setting out its next course of action within 28 days of a parliamentary vote rejecting the Brexit deal.
It's a concession that may defuse a Tory rebellion. We'll know by mid-afternoon on Tuesday because this will be one of the first votes up.
Defeat would be a big setback for Number 10 and proof that Parliament is taking greater control over Brexit.
But Brexiteers would see the same result as threatening to weaken Mrs May's negotiating hand with Brussels ahead of the EU Summit.