Swimming pools exceeding 24" in depth, accessory to residences or commercial uses, shall be secured from the public in accordance with International Residential Code (IRC), Appendix G for residential uses and International Building Code (IBC) for commercial uses.