In February, the United Kingdom government said it had made a "considerable" offer, which would see the vast majority of those powers returning to Cardiff, Edinburgh and Belfast while the rest temporarily stayed in London.

They have insisted the power retained by Whitehall would only be kept for seven years.

It means consent of the devolved legislatures will be sought for any changes to the powers held in Westminster, but if talks become deadlocked, UK Parliament will have the final say.

"And giving support to the nationalists, they should be ashamed of themselves". It will report within the next few weeks.

"I'm not sure independence will ever be off the table until it's realised", she said.

With the Greens, ScottishLabour and the Liberal Democrats having said they will join the SNP and vote against granting consent, it is certain to be passed when MSPs vote on the matter at 5pm on Tuesday.

A source said: "It's a nonsense to pretend that the Scottish position is defending devolution".

It is convention that AMs in Cardiff, and MSPs in Scotland, vote to give or refuse consent on Westminster legislation when it impacts devolution.

Michael Russell, the Scottish government's chief Brexit negotiator, said any attempt to use Brexit to restrict the powers of the Scottish parliament "will be noted here and across Europe".

Lidington has set out details of 24 areas he said would need to come under Westminster control immediately after the United Kingdom leaves the European Union to avoid short-term confusion in areas such as food hygiene, chemicals and animal welfare, which the Scottish Government says is unacceptable.

SNP, Labour, Green and Liberal Democrat MSPs all voted against consent, with only the Scottish Conservatives arguing the changes that have already been made to the Bill go far enough to protect devolution. He said the government would press ahead with the Bill but suggested it would be open to amending it to reflect Scottish concerns.

Its Labour chair David Rees AM said: "We remain particularly concerned that the assembly's ability to pass laws in devolved policy areas such agriculture could be constrained by the UK Parliament, even in circumstances where the assembly has refused consent for such constraints to be imposed".