Yes a majority of the Scottish electorate who voted in the referendum voted to remain in the EU but that is irrelevant as Scotland is still a member of the UK and as such is democratically bound by the result of the UK vote .