Swimming Pool safety requiments...Question

3109.4.1.7 Gates. Access doors or gates shall comply with the requirements of Sections 3109.4.1.1 through 3109.4.1.6 and shall be equipped to accommodate a locking device. Pedestrian access doors or gates shall open outward away from the pool and shall be self-closing and have a self-latching device.

3109.4.1 Barrier height and clearances. The top of the barrier shall be at least 48 inches (1219 mm) above grade measured on the side of the barrier that faces away from the swimming pool.