The debate – which ended in an SNP victory with the support of the Scottish Greens – came amid suggestions that Scots could be offered special passports to allow continued access to the continental block, even if the rest of the UK decides to end free movement.