If Scotland is to be allowed to remain within the EU, what concessions would the rest of the EU expect to extract from it, and potentially from the rest of the UK, for allowing this to happen?
I'd expect the UK rebate would be on bargaining chip that would need to be sacrificed.
The voting rights in the council for ministers would also look to be a likely sticking point, the UK has 29 votes, the same as Germany, France, Italy. Denmark, Finland, Slovakia have similar populations to scotland and have 7 votes, which would presumably be the level of votes that Scotland would expect to have, but if those 7 votes were taken from the UK allocation that would leave the rest of the UK with only 22 votes, which would be significantly below Spain and Poland on 27 votes, despite those countries having 10 and 20 million lower populations than the rest of the UK.
So that would be a pretty big sticking point, unless Scotland or the rUK were prepared to sacrifice voting rights, as I doubt the rest of the EU would be prepared to increase the overall voting rights to UK and Scotland. I think this is what happened when Germany unified, which is why Germany has the same votes as UK, France and Italy despite having 15-20 million more people now, but I'm struggling to confirm this.
details of council of ministers voting rights