Cal. Pub. Res. Code § 21159.24
(a) Except as provided in subdivision (b), this division does not apply to a project if all of the following criteria are met:
(7) Either of the following criteria are met:
(A)
(b) Notwithstanding subdivision (a), this division shall apply to a development project that meets the criteria described in subdivision (a), if any of the following occur:
(d) For the purposes of this section, “residential” means a use consisting of either of the following: