A vote to leave the European Union against Scotland's wishes would "almost certainly" trigger another independence referendum, Nicola Sturgeon has warned.
The Scottish First Minister and SNP leader said if England voted to leave the EU while Scotland voted to remain there would be an "inescapable" shift in public opinion towards independence to guarantee the country’s continued EU membership.
"I think that would be the demand of people in Scotland,” she told the BBC.
"Let me say very clearly that I don't want this scenario to arise. I hope the UK as a whole votes to stay in the EU for a whole variety of different reasons.
"But if you cast your mind back to the Scottish referendum, the No campaign then said if Scotland voted Yes then our membership of the EU would be at risk. That was rubbish then, but that was a key argument.
"If, a couple of years later, we find ourselves, having voted to stay in the EU, being taken out against our will, I think there will be many people - including people who voted No in 2014 - who would say the only way to guarantee our EU membership is to be independent.
"That, I think, is inescapable."
She added: "I personally know people who were passionate in their No vote in 2014 who would change their minds if we were in that scenario.
"That, I think, is just something that is inevitable."
Ms Sturgeon acknowledged that an independent Scotland in the EU would have to negotiate its border arrangements if the remainder of the UK was outside the EU.
She added that said she has "no proposals" to use her new devolved powers to top up benefits for migrants, but said EU migrants have had a positive impact on the UK economy.
She also spoke of her fears for employment rights and social protections under the Tories if the UK leaves the EU.
"David Cameron seems to want an EU where the social and employment protections that it brings are watered down," she said.
"For me these are parts of the reasons for being in the EU, and one of the reasons why it would worry me greatly if the UK was to come out of the EU, as we would then have David Cameron's majority Conservative government unfettered when it came to employment rights or social protections."
Scottish Liberal Democrat leader Willie Rennie said: Ms Sturgeon was “too keen” to talk up a defeat in the EU referendum to advance her cause.
"It is welcome that Nicola Sturgeon supports remaining in the EU, but we need her to support the campaign 100% rather than using every opportunity to talk abut what happens if we lose.
"The EU referendum campaign must not be used as a proxy campaign for independence. The EU debate deserves a laser-like focus, just like the independence debate. With economic, social and security benefits, the European Union is good for the UK."
Join our new commenting forum
Join thought-provoking conversations, follow other Independent readers and see their replies