They want to vote for may's withdrawal agreement - God, how MUCH they want to vote for it - but this should also require final endorsement by referendum.
Now, you can't wait until after it happens to deal with that. You're going to have to make provision for that possibility when you pass the referendum legislation.
Are you actually going to write a law like that? That England gets what England wants, and fuck you, Scotland, we're bigger than you.
And now you're going to have to decide whether Scotland counts as a valid nation, or whether it's just England throwing its weight around.
If Scotland keeps England in Europe against its will, or if England drags Scotland out, the country won't last five minutes, and god only knows about Northern Ireland