California Code
ARTICLE 2 - Adoption of Regulations
Section 65852.23.

65852.23. (a) Notwithstanding any other law, and except as otherwise provided in subdivision (b), a local agency shall not deny a permit for an unpermitted accessory dwelling unit that was constructed before January 1, 2018, due to either of the following:

(1) The accessory dwelling unit is in violation of building standards pursuant to Article 1 (commencing with Section 17960) of Chapter 5 of Part 1.5 of Division 13 of the Health and Safety Code.

(2) The accessory dwelling unit does not comply with Section 65852.2 or any local ordinance regulating accessory dwelling units.

(b) Notwithstanding subdivision (a), a local agency may deny a permit for an accessory dwelling unit subject to subdivision (a) if the local agency makes a finding that correcting the violation is necessary to protect the health and safety of the public or occupants of the structure.

(c) The section shall not apply to a building that is deemed substandard pursuant to Section 17920.3 of the Health and Safety Code.

(Added by Stats. 2022, Ch. 664, Sec. 5. (SB 897) Effective January 1, 2023.)