The UK government is tabling legislation to end post-Brexit checks on goods moving between Great Britain and Northern Ireland.
Significantly, the Withdrawal Act will also be amended, meaning EU law will no longer apply automatically in Northern Ireland.
The details are contained in a government document which effectively details the deal to restore power-sharing at Stormont.
The 80-page document comes in three parts: one setting out changes to the law and their impact, an annex on the constitutional context, and a second annex on additional measures to strengthen Northern Ireland's place in the UK.
Those measures include an East-West Council, a new trade body and one UK cabinet meeting in Northern Ireland annually.
The changes will have an impact on the Windsor Framework, the deal Rishi Sunak signed with the European Union.
But sources close to negotiations say they "will come as no surprise" to Brussels, which has been kept informed.
Words like "flexibility" and "pragmatism" are being used a lot by players on all sides, as well as the feeling that "conversations have produced trust".
A Commons vote on the details contained in the legislation is expected tomorrow.
The legal changes reflect what has been described as "the democratic deficit", giving Stormont a greater role in scrutiny.
That strengthens the Democratic Unionist Party's (DUP) argument for a restoration of the power-sharing government at the heart of the peace process.
The document, titled Safeguarding The Union, sets out the government's intentions of what it wants to achieve in Northern Ireland, which has been without government since 2022.
The DUP had collapsed power-sharing at Stormont in protest against post-Brexit trade arrangements, which left a trade border down the Irish Sea and additional checks on goods travelling between Great Britain and Northern Ireland.
Westminster has recently been locked in talks with the DUP aimed at securing the return of Stormont in exchange for addressing some of the DUP's concerns.
In the early hours of Tuesday morning, it was revealed an agreement had been reached, paving the way for the assembly to get up and running again.
And following the publication of the government document, DUP leader Sir Jeffrey Donaldson said the automatic appliance of EU laws to Northern Ireland would end.
"At the moment EU law automatically applies to Northern Ireland, whether it is a change to EU law or a new EU law," he said.
"Under the protocol we had no say, the Assembly was not consulted on that, there was no democratic scrutiny in Northern Ireland of those laws, they just automatically applied. These new arrangements end that."
Sir Jeffrey said Article 7A of the Withdrawal Act would be amended to "end the automatic pipeline of EU law applying to Northern Ireland".
He said that meant Northern Ireland "will have new democratic scrutiny mechanisms in the Assembly".
"The Assembly will be able to scrutinise any new laws that are coming forward. Assembly members will be able to say if they think that law is going to be harmful to Northern Ireland and our ability to trade, in other words, divergence.
"The Assembly will be able to say no, that law should not apply in Northern Ireland and the UK government has the right to veto that law on behalf of Northern Ireland.
"There is a new process that is being put in place that ends the dynamic alignment of EU law in Northern Ireland."
Speaking in the Commons, Northern Ireland Secretary Chris Heaton-Harris said the deal was the "right one for Northern Ireland and for the union".
He said many of the announcements were due to a "significant period" of negotiations between Westminster and the DUP, as he praised Sir Jeffrey's "determination, fortitude and tact".
"With this package it is now time for elected representatives in Northern Ireland to come together, to end the two years of impasse and start work again in the interests of the people that elected them."
Responding, Labour's shadow Northern Ireland Secretary Hilary Benn said his party would vote in favour of the government's plans and praised the "tireless efforts" of Mr Heaton-Harris.
He also paid tribute to Sir Jeffrey's "courageous and decisive leadership", saying that despite facing "abuse", he "consistently and persuasively made his case for change while always being clear that he wanted to return to government with an agreement that was acceptable to all communities".
However, there were signs of disagreement within the DUP over the deal, with Sammy Wilson, the DUP MP for East Antrim, saying "the fact remains that in Northern Ireland, there are still EU-manned border posts being built which will create a border within our own country".
"And when the Northern Ireland Assembly sits, ministers and Assembly members will be expected by law to adhere to and implement laws which are made in Brussels, which they have no say over, no ability to amend, no ability to stop."
He hit out at "the spineless, weak-kneed, Brexit-betraying government" whom he accused of "refusing to take on the EU and its interference in Northern Ireland".
Asked by Sky News about division in the party, Sir Jeffrey said: "I don't accept the characterisation that my party is split.
"We had a full discussion at our meeting on Monday evening and... there was a very wide margin of support for the position that we have adopted.
"The vote was absolutely decisive and I go forward on the strength of that mandate, confident that I have the backing of my party, confident that we will together, not only to ensure that the change we have secured is delivered, but also to work for further change going forward."
Speaking in a news conference at Hillsborough Castle on Wednesday evening, the DUP leader also told reporters he agreed with colleagues "there is more to do".
But, he added: "My party has assessed these proposals... and we are satisfied that we have made substantial progress, sufficient [enough] to enable us to restore the political institutions.
"And we will continue to work from within Stormont and Westminster and our MPs will be an important part of that process in seeking to deliver further change."