Scottish Ministers must consult on the code in preparing it, explicitly including local authorities and SEPA, and must lay a draft code in the Scottish Parliament for a minimum period of 40 days before its completion (with no account to be taken of time when Parliament is dissolved or in recess for more than 4 days)....