Earlier today, a senior minister admitted that a UK Government plan to override elements of Boris Johnson’s Brexit deal with Brussels will breach international law.

The comment, from Northern Ireland Secretary Brandon Lewis, has provoked a furious reaction and followed news that the head of the Government Legal Department had resigned amid reports he was “very unhappy” with the proposal.

HeraldScotland: Camley's Cartoon: PM's brinkmanship over Brexit talks.Camley's Cartoon: PM's brinkmanship over Brexit talks.

Mr Lewis told MPs legislation to ensure Northern Ireland could continue to enjoy unfettered access to markets in the rest of the UK would breach international law in a “very specific and limited way”.

Mr Lewis shocked MPs by saying: "I would say to my honourable friend that, yes, this does break international law in a very specific and limited way. 

"We’re taking the power to disapply the EU law concept of direct effect required by article 4 in certain very tightly defined circumstances.

READ MORE: Minister admits Government plans will break the law

The news has sparked fury on Twitter, as Scots react to the revelation from Mr Lewis.

One user described "knowingly and wilfully breaking international law" as "sickening".

Another asked: "If the UK can break international law, then why can't Scotland just announce independence?"

But Lewis defended the move, by saying: "There are clear precedents for the UK, and indeed other countries, needing to consider their international obligations as circumstances change.

"And I would say to honourable members here, many of whom would have been in this house when we passed the Finance Act in 2013 which contains an example of treaty override. 

"It contains provisions that expressly disapply international tax treaties to the extent that these conflicted with the general anti-abuse rule.

"And I would say to my honourable friend we are determined to ensure we are delivering on the agreement we have in the protocol and our leading priority is to do that through the negotiations and through the joint committee work."