See the section under Home Owner and Debtor Protection (Scotland) Act 2010