Prime Minister Boris Johnson has accused the European Union of threatening to tear the UK apart by imposing a food "blockade" between Britain and Northern Ireland, throwing new fuel on the fire of simmering Brexit talks.

Writing in Saturday's Daily Telegraph newspaper, Johnson said the EU's stance justified his government's introduction of new legislation to rewrite its Brexit withdrawal treaty -- a bill that is causing deep alarm among former prime ministers and his own MPs.

Talks between London and Brussels on a future trading relationship are deadlocked as both sides struggle to prise apart nearly 50 years of economic integration, after British voters opted for a divorce.

"My assessment is that an unregulated situation (no deal) would have very significant consequences for the British economy," German Finance Minister Olaf Scholz warned after an EU meeting in Berlin.

"Europe would be able to deal with it and these would not be particularly difficult consequences after the preparations we have already made," he added.

But absent a deal by the end of this year, when the full force of Brexit kicks in, Johnson said the EU was bent on an "extreme interpretation" of rules for Northern Ireland under the divorce treaty both sides signed in January.

Johnson said his government remained committed to finding agreement with the EU by the end of the year
Johnson said his government remained committed to finding agreement with the EU by the end of the year AFP / Ben STANSALL

"We are being told that the EU will not only impose tariffs on goods moving from Great Britain to Northern Ireland, but that they might actually stop the transport of food products from GB to NI," he wrote.

"I have to say that we never seriously believed that the EU would be willing to use a treaty, negotiated in good faith, to blockade one part of the UK, to cut it off, or that they would actually threaten to destroy the economic and territorial integrity of the UK."

Johnson said the EU's stance would "seriously endanger peace and stability in Northern Ireland".

"We disagree," former prime ministers Tony Blair and John Major, who led Britain through historic peace talks in the 1990s, retorted in the Sunday Times.

"The government's action does not protect the (1998) Good Friday Agreement -- it imperils it," they wrote in a joint opinion piece, calling Johnson's claims to have only belatedly unearthed problems in the EU treaty "nonsense".

Barnier said "many uncertainties" remained about Britain's food export regime after January 1
Barnier said "many uncertainties" remained about Britain's food export regime after January 1 AFP / JUSTIN TALLIS

"As the world looks on aghast at the UK -- the word of which was once accepted as inviolable -- this government's action is shaming itself and embarrassing our nation."

The EU has threatened Britain with legal action unless it withdraws its unilateral changes by the end of September, and leaders in the European Parliament on Friday threatened to veto any trade pact if London violated its promises.

Paolo Gentiloni, the EU's economics affairs commissioner, said it was up to Britain to "re-establish trust" with the bloc.

"And in any case... we are prepared to deal with extraordinary negative outcome of this discussion," the former Italian prime minister added in Berlin.

Under the EU withdrawal treaty, Northern Ireland will enjoy a special status to ensure no return of a border with EU member Ireland, in line with the 1998 peace pact that ended three decades of bloodshed.

The food dispute centres on the EU's refusal so far to grant Britain "third country" status, which acknowledges that nations meet basic requirements to export their foodstuffs to Europe.

The EU is worried that post-Brexit Britain could undermine its own food standards, as well as rules on state aid for companies, and infiltrate its single market via Northern Ireland.

Johnson's article appeared after he held a chaotic videoconference on Friday evening with mutinous Conservative MPs who are aghast at the prospect of the government tearing up an international treaty.

Senior Conservative backbencher Robert Neill was unimpressed by Johnson's calls to push the bill through and prevent a renewal of the Brexit infighting that paralysed parliament last year.

"I believe it is potentially a harmful act for this country, it would damage our reputation and I think it will make it harder to strike trade deals going forward," Neill told Channel 4 News, a point echoed by Blair and Major.

The government celebrated one breakthrough Friday when it clinched its first post-Brexit trade pact, with Japan. But critics noted it would boost Britain's long-term economic output by just 0.07 percent, and that trade with the EU is far higher.