RICHARD Keen has resigned as the government's Advocate General, telling Boris Johnson he was finding it "increasingly difficult to reconcile" his obligations as a law officer" with the UK Government's Internal Market Bill. 

He's been under pressure to hand in his notice ever since last week’s admission by Northern Ireland Secretary Brandon Lewis that the legislation, which allows ministers to override the Brexit agreement with the EU, breaches "international law in a very specific and limited way”.

Jonathan Jones, the government's most senior lawyer has already resigned over the legislation.

Keen attempted to defend the government yesterday, arguing that Lewis had "essentially answered the wrong question".

However, the Northern Ireland secretary disagreed, saying this morning that his answer was "absolutely in line" with legal advice.

Keen handed his resignation in on Wednesday morning, but it wasn't immediately accepted, with Downing Street attempting to talk him out of it.

That attempt was unsuccessful.

In a statement released just before 6pm, a spokesman for the Prime Minister said: "Lord Keen has resigned as Advocate General for Scotland. The Prime Minister thanks him for his service."

In his resignation letter, the lawyer said:"Over the past week I have found it increasingly difficult to reconcile what I consider to be my obligations as a law officer with your policy intentions with respect to the UKIM Bill.

"I have endeavoured to identify a respectable argument for the provisions of clauses 42 to 45 of the bill, but it is now clear that this will not meet your policy intentions.

"In these circumstances, I consider that it is my duty to tender my resignation from your government.

"Your government faces challenges on a number of fronts, and I feel that the UKIM Bill in its present form will not make these any easier."

Clauses 42, 43 and 45 of the Bill include the controversial measures which allow ministers to make regulations about goods leaving Northern Ireland and state aid which will have effect “notwithstanding their incompatibility with any rule of international or domestic law whatsoever”.

The SNP’s Justice and Home Affairs spokesperson, Joanna Cherry said she was pleased Keen had “finally decided to do the right thing and offer his resignation.” 

“No Scottish law officer could possibly reconcile the lack of regard Boris Johnson and his government has for the rule of law with his or her obligation as an officer of the Scottish Courts,” she added.

She said the UK government would "find it hard to find any member of the Scottish Bar to replace Lord Keen as Advocate General as long as it is intent on breaking international law."

Keen had been the chairman of the Scottish Conservatives until being appointed as Advocate General in 2015.

The QC has represented the UK government in court in a number of high-profile cases, including over the prorogation of parliament in 2019 and the "Article 50" Brexit case in 2016-17

Many of Keen's critics have pointed in recent days to a speech he made to the Public Law Group on the rule of law and role of law officers, back in June 2018.

The peer said it was “the duty of the law officers is to ensure that the government acts lawfully at all times”. 

He added: “If the rule of law is disrespected, and falls into disrepute, elected governments will not be able to govern effectively – any government is simply shooting itself in the foot if it undermines the rule of law.”