Brexit: MSPs told EU would take London's lead in recognising an independent Scotland
Charles Grant, director of the Centre for European Reform said the key thing for the EU was "the question of legality."
He said: "The reason the EU has not taken Catalonia's side in recent years is because the Catalans are pursuing a course of action the EU perceives as illegal. So long as Scotland moves towards independence according to the constitution and in co-operation with Westminster, I think the EU would look benignly on Scottish independence.
"The Spanish have shifted their line from being totally hostile to Scottish independence to not necessarily hostile, so if Scotland pursues a law-abiding route to that end, Scotland would be welcome in the EU."