(a) An accessory building or structure may be erected either attached or unattached to a principal building on the same lot. An attached accessory building shall be considered a part of the principal building and shall comply with the requirements of the district in which it is located. (b) Accessory buildings shall be constructed concurrently with or subsequent to a principal dwelling, unless it qualifies as an agricultural use building, as specified in Section 403.04. (c) See Section 403.04 for requirements specific to accessory agricultural use buildings and structures. (d) See Article 3, Restrictions on Particular Uses, for additional standards for accessory buildings and structures. (e) Building Permits, when required. (1) Detached accessory buildings over 400 square feet in area shall require a building permit, with exception of agricultural buildings as defined in Section 403.04; agricultural buildings over 800 square feet in area shall require a building permit. (2) Detached accessory buildings or structures 400 square feet or less that are used for the private, noncommercial and nondwelling use of the resident or that are used for agricultural purposes, shall not require a building permit, provided they meet the criteria noted in this Section 403. a. The building or structure shall not be used for human habitation; b. The building or structure shall be served by not more than 100 amp of electricity, provided, however, an electrical permit and designated inspection are required. No permit is required for a building 400 square feet or less in area without electricity; c. The building or structure shall not contain toilet facilities; d. The building or structure shall not be taller than one story; provided, however, that such story shall not exceed 20 feet in clearance height; e. Should the structure be altered or converted to a use which is inconsistent with the criteria outlined herein, this exemption shall not apply to such alterations and the owner must apply for a building permit and otherwise comply with all of the requirements of the applicable building code before proceeding with such alteration; and f. Regardless of whether or not a building qualifies for a permit exemption, all structures must be built according to the standards as required by the applicable state and county building codes.