Changes made by Gender Recognition (Marriage and Civil Partnership Registration) (Modification) 2016
S.S.I. 2016/67
Made to Registration of Births, Deaths and Marriages (Scotland) Act 1965
From legislation.gov.uk's record of changes, the official one: see it there.