Scotland must have a different status from the rest of the UK if the country fails to achieve the "least worst" deal over Brexit, Holyrood's External Affairs Secretary said.
Fiona Hyslop said if that was not the case the Scottish Government is "absolutely serious" about staging a second independence referendum.
She also insisted the reaction from the rest of the European Union to an independent Scotland would not be the same as in 2014, when pro-UK campaigners insisted if the country left the UK it would not be able to gain membership of the EU.
Ms Hyslop spoke out at a fringe event at the SNP conference in Glasgow which was organised by the European Free Alliance (EFA), which brings together political parties from across Europe - including the SNP - which campaign for independence and greater self governance.
EFA president Francois Alfonsi said: "For us Scotland is definitely European, regardless of what the rest of the UK voted.
"The Scottish people, with a great majority, expressed their determination to remain in Europe."
While the UK as a whole voted to leave the EU, almost two thirds (62%) of Scots who took part in the referendum backed staying in Europe, prompting First Minister Nicola Sturgeon to warn another independence referendum is "highly likely".
The Scottish Government is now due to publish an Independence Referendum Bill for consultation next week.
But Mr Alfonsi insisted Scotland's vote to stay part of the EU should be respected.
He told the audience: "In 2014 unfortunately the Scottish people voted to remain in the UK. This was respected. In 2016 the Scottish people voted to remain in the European Union and also this should be respected by everyone in the same way.
"But Theresa May and the Tories do not intend to respect the Scottish democracy."
The Corsican politician added: "Greenland is a part of Denmark but outside of the European Union, with the same logic Europe should enable Scotland to stay in the European Union, even if the UK leaves the European Union."
Ms Hyslop insisted SNP ministers would try to persuade the UK Government to pursue the "the least worst option" when negotiating a deal to leave the EU.
But she added: "If we can't get that we certainly must have a differentiated option."
Ms Hyslop stated: "If required we will pursue that independence option, we have got that opportunity, we will lay the draft legislation next week for consultation. We are serious, we are absolutely serious about protecting Scotland's interests."
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules hereComments are closed on this article