(a)
Agencies shall obligate lessees and purchasers of real property acquired in redevelopment projects and owners of property improved as a part of a redevelopment project to refrain from restricting the rental, sale, or lease of the property on any basis listed in subdivision (a) or (d) of Section 12955 of the Government Code, as those bases are defined in Sections 12926, 12926.1, subdivision (m) and paragraph (1) of subdivision (p) of Section 12955, and Section 12955.2 of the Government Code. All deeds, leases, or contracts for the sale, lease, sublease, or other transfer of any land in a redevelopment project shall contain or be subject to the nondiscrimination or nonsegregation clauses hereafter prescribed.
(b)
Notwithstanding subdivision (a), with respect to familial status, subdivision (a) shall not be construed to apply to housing for older persons, as defined in Section 12955.9 of the Government Code. With respect to familial status, nothing in subdivision (a) shall be construed to affect Sections 51.2, 51.3, 51.4, 51.10, 51.11, and 799.5 of the Civil Code, relating to housing for senior citizens. Subdivision (d) of Section 51, Section 4760, and Section 6714 of the Civil Code, and subdivisions (n), (o), and (p) of Section 12955 of the Government Code shall apply to subdivision (a).