It’s interesting that a guard rail may not be required, but if you install one, you have to follow the codes as if the railing was …

source