The Scottish Government wrote to every local authority in 2014 giving formal notice of the intention to legislate and setting out the planned implementation dates, allowing contracts signed in the run-up to that date to be future-proofed for compliance.