Where more than 25% of the total floor area of any structure in a commercial district other than the C-3 District is used for dwelling purposes, in a structure which may also contain nonresidential uses, the minimum height, area and bulk requirements for residential development applicable in the district in which such structure is located shall apply, subject to the side yard modification for mixed uses contained elsewhere in this article. Where 25% or less of the total floor area of such structure is used for dwelling purposes, the structure shall be subject to the height, area and bulk requirements applicable to nonresidential structures in the district.