The Scottish Government said its proposed EU Continuity Bill could be introduced in February if necessary to ensure Scottish law is prepared for Brexit.
The announcement follows the revelation that the UK Government does not plan to amend its EU Withdrawal Bill to take account of the concerns of devolved administrations when it comes before Westminster next week.
The Scottish and Welsh Governments have said they cannot recommend that the UK legislation be granted consent in its current form, which would see EU responsibilities in devolved areas initially transferred to Westminster.
The UK Government says this will allow common frameworks to be created ahead of further devolution - but it has been branded a “power grab” by the first ministers of Scotland and Wales.
The stance is supported by Holyrood’s cross-party Finance and Constitution Committee, which has described the UK Bill as “incompatible with the devolution settlement in Scotland”.
The Scottish Government said it had a duty to plan for the Scottish Parliament deciding not to give the UK Bill legislative consent if changes are not forthcoming.
In a joint letter to Holyrood’s Presiding Officer Ken Macintosh, Brexit minister Mike Russell and parliamentary business minister Joe Fitzpatrick said they were seeking a speedy timetable for Scottish continuity legislation.
The letter said: “The Scottish Government’s preference is to work collaboratively with the UK Government on the legislative consequences of EU withdrawal, including through the EU (Withdrawal) Bill.
“Discussions continue on the potential for amendments to be made, but as things stand we need to prepare responsibly for the possibility of consent being withheld.”
It continued: “The purpose of introducing the Bill is to ensure that Scotland’s laws can be prepared for the effects of EU withdrawal even if it does not prove possible to rely on the UK Bill.
“It does not mean that we have definitely resolved to reject the EU (Withdrawal) Bill.
“But unless and until the necessary changes to the bill are made, the Scottish Government must provide for an alternative so that on any scenario there is a legislative framework in place for protecting Scotland’s system of laws from the disruption of UK withdrawal from the EU.”
READ MORE: Scottish history timeline from 1054 to 2014