Controversial plans to tackle the small boats crisis are poised to become law after the Government crushed a series of renewed challenges by peers at Westminster.
In a night of drama, the Tory frontbench saw off five further changes being sought by the unelected chamber to the Illegal Migration Bill, including modern slavery protections and child detention limits.
At least one other vote was ditched in the face of the Government victories.
And the Archbishop of Canterbury, the Most Rev Justin Welby, who has been a strident critic of the bill, also dropped his demand for a statement on tackling the refugee problem and human trafficking to the UK, after a similar proposal was rejected by MPs.
It marked a shock ending to the parliamentary tussle over the flagship reforms that had threatened to go to the wire ahead of the summer recess.
The cessation of the stand-off between the unelected chamber and MPs during so-called ping-pong, where legislation is batted between the Lords and Commons until agreement is reached, paves the way for the bill to receive royal assent.
The reforms are a key part of Prime Minister Rishi Sunak’s bid to deter people from making hazardous Channel crossings.
They will prevent people from claiming asylum in the UK if they arrive through unauthorised means.
The Government also hopes the changes will ensure detained people are promptly removed, either to their home country or a third country such as Rwanda, which is currently the subject of a legal challenge.
But the bill had encountered fierce opposition in the upper chamber, which had been accused of trying to “drive a coach and horses” through the contentious plans.
In turn, the Government faced claims of seeking to deliver a “punishment beating” to peers for challenging the plans.
Ministers had urged the Lords to allow the bill to become law after signalling no further concessions were planned and MPs again overturned a raft of revisions previously made by the upper chamber.
Home Office minister Lord Murray of Blidworth said the number of small boat arrivals had “overwhelmed” the UK’s asylum system and was costing taxpayers £6 million a day to provide accommodation.
He told peers: “With over 45,000 people making dangerous Channel crossings last year this is simply no longer sustainable.
“If people know there is no way for them to stay in the UK, they won’t risk their lives and pay criminals thousands of pounds to arrive here illegally.
“It is therefore only right that we stop the boats and break the business model of the criminal gangs exploiting vulnerable people, ultimately enabling the Government to have greater capacity to provide a safe haven for those at risk of war and persecution.”
He urged the Lords to “respect the will of the elected House and the British people by passing this bill”.
But while he agreed on the need to stop the small boat crossings, Mr Welby said: “I fail to see how this (the bill) does it and I have not heard anything to convince me.
“But that is the view of the other place. I agree that in the end on most things except the most essential that this House must give way to the other place.”
He added: “The problem with the bill is that it has not started at the right place. Where it needed to start with is… to have a level of national consensus and agreement on what the aim of our migration policy and immigration policy is in the long-term.”
The debate in Parliament came as an accommodation barge set to house 500 migrants was on the move.
The plans involving the Bibby Stockholm barge in Portland Port, Dorset, are a month behind schedule but the vessel has finally left Falmouth, Cornwall, where work was being carried out to prepare it for its new role.
Downing Street defended the use of barges to house migrants, insisting it is a cheaper alternative to housing them in hotels.
The first asylum seekers are expected to board the Bibby Stockholm later this month.
Follow STV News on WhatsApp
Scan the QR code on your mobile device for all the latest news from around the country