Scottish ministers published plans at the end of last year outlining proposals to protect Scotland's place in Europe, including an option for the country to remain in the European single market even if the rest of the UK leaves it.