Accessory buildings on residential lots, when located within a front or side yard, shall be located no closer to property lines than would be allowed for a principal building. Within a rear yard, an accessory building on a residential lot shall be located at least five (5) feet from all property lines and, except that in the case of corner lots, accessory buildings shall be set back from the centerline of an abutting street right-of-way a distance equal to three-fourths the front yard setback established for the zoning district in which the accessory buildings are located. In the case of a through lot, accessory buildings shall conform to front yard setbacks on both streets. Accessory buildings or uses on nonresidential lots shall comply with front, side and rear yard requirements established for the zoning district in which such buildings or uses are located. 3-9.1 Accessory building on separate lot. An accessory building may be permitted, as a special exception by the city council, on a separate lot from the lot of the principal building; provided, that: (a) The lot upon which the accessory building is to be located shall be within four hundred (400) feet of the principal use; (b) All requirements, including use restrictions, established for the zoning district in which such accessory building is to be located shall be complied with; and (c) Any structure or building erected shall meet the requirements of the Nashville Building Code and shall be approved by the building inspector. In addition to the above requirements, the city council may require design features such as buffer strips, screening, etc., as may be found necessary to protect the purposes of this ordinance. 3-9.2 Swimming pools. Swimming pools accessory to residences or commercial uses shall be enclosed by a steel mesh security fence or other substantial building material affording equal or better access control. Said fence shall have a minimum height of four (4) feet. 3-9.3 Separation from principal use. Any accessory building of more than eight (8) feet in height shall be located at least ten (10) feet from the principal building. 3-9.4 Accessory building—Size limitations. Residential accessory buildings shall be limited to fifty (50) percent of the square footage of the principal building.