The Building (Scotland) Regulations 2004

A. On condition that types 1-23 in all respects and/or in the manner of their fitting meet any relevant requirement of the regulations.

18.  A wall not exceeding 1.2 metres in height, or a fence not exceeding 2 metres in height.