Nicola Sturgeon could demand a seat at the top table of the Brexit talks in return for dropping her threat to derail the UK Government’s plans for an “orderly” withdrawal from Europe, the SNP’s Westminster leader has suggested.

Ian Blackford argued that a “compromise” could be reached whereby the Scottish Parliament consents to the keystone Repeal Bill in return for Ms Sturgeon’s administration being represented in the Brussels talks.

But the MP said that “of course” the Edinburgh parliament has a veto over the legislation and demanded “mutual respect” from Theresa May’s Government.

Ms Sturgeon later said it would be “unthinkable” for the Scottish Parliament not to be asked for its consent and reiterated her demand for a seat at the Brexit negotiating table.

However, Tory sources were scathing about the demand, pointing out that the First Minister opposes the UK’s negotiating stance and has so far refused to withdraw her threat of a second independence referendum.

Although David Mundell, the Scottish Secretary, has said it is likely that Holyrood will get a vote on the Repeal Bill, he has previously warned that withholding consent threatens chaos in Scotland. It risks thousands of holes in the statute book created by EU laws that no longer apply.