Boris Johnson’s plans to override the Brexit Withdrawal Agreement have suffered a fresh setback after the Government’s top law officer for Scotland handed in his resignation.

Lord Keen of Elie QC, the Advocate General, was reported to be deeply unhappy after ministers admitted the provisions in the UK Internal Market Bill would breach international law.

He told the Press and Journal: “I tendered my resignation to the Prime Minister first thing this morning, I’ve not yet heard back from the Prime Minister.”

There was no immediate from word Downing Street on whether Lord Keen’s resignation had been accepted, amid reports that efforts were being made to persuade him to stay on.

Brexit
Boris Johnson has said the Internal Market Bill provides a ‘legal safety net’ (Stefan Rousseau/PA)

Giving evidence to the Commons Liaison Committee, Mr Johnson said: “As far as I know, conversations on that matter are continuing.”

The Government has already seen the departure of the head of the Government Legal Department, Sir Jonathan Jones, who quit last week as the Bill was announced.

Lord Keen’s decision to offer his resignation may increase concerns among senior Conservatives dismayed at the idea that the UK could go back on in its international treaty obligations.

However the move came amid reports that No 10 had reached an agreement with Tory rebels threatening to try to amend the legislation in the Commons next week.

Lord Keen’s offer to resign came after Northern Ireland Secretary Brandon Lewis appeared to directly contradict his comments in the House of Lords.

On Tuesday, Lord Keen told peers that the Bill did not “constitute a breach of international law or of the rule of law”.

He said Mr Lewis had “answered the wrong question” when he said the proposals to override elements of the Brexit divorce deal relating to Northern Ireland would break international law in a “specific and limited way”.

Brexit
Brandon Lewis said he was right to say the Bill breached international law (Brian Lawless/PA)

However, giving evidence to the Commons Northern Ireland Committee on Wednesday, Mr Lewis said he stood by his original answer which was “absolutely in line” with the legal advice issued by Attorney General Suella Braverman.

“I gave a very straight answer to Parliament last week in line with the Attorney General’s position,” he said.

“I have spoken to Lord Keen. He has looked at the specific question I was asked last week. He has agreed with me that the answer I gave was correct to the question I was given.”

The BBC reported that Mr Johnson had reached an agreement with Tory rebels backing an amendment tabled by the chairman of the Commons Justice Committee Sir Bob Neill.

Around 30 Conservative MPs were thought to be preparing to vote for the amendment on Tuesday which would have required a Commons vote before the provisions in the Bill relating to Northern Ireland could come into force.

Ministers were said to be hoping they could defuse the revolt by agreeing to provide an “extra level of parliamentary scrutiny”.

Earlier European Commission president Ursula von der Leyen, warned the UK could not unilaterally set aside the Withdrawal Agreement which settled the terms of its “divorce”.

In her annual State of the Union address to the European Parliament, Mrs von der Leyen said both sides had agreed it was the only way to guarantee the Northern Ireland peace process.

Mr Johnson has insisted the Bill is intended to provide a legal “safety net” to protect the peace process and ensure the EU could not impose tariffs on goods moving to Northern Ireland from the rest of the UK.

Addressing the Parliament in Brussels, Mrs von der Leyen said: “This Withdrawal Agreement took three years to negotiate and we worked relentlessly on it line-by-line, word-by-word, and together we succeeded.

“The European Union and the UK jointly agreed that it was the best and only way for ensuring peace on the island of Ireland and we will never backtrack on that.

“This agreement has been ratified by this house and the House of Commons. It cannot be unilaterally changed, disregarded or disapplied.

“This is a matter of law and trust and good faith.”