California Codes, Code of Civil Procedure - CCP, Part 2 — Of Civil Actions, Title 10 — Actions in Particular Cases, Chapter 10 — Good Faith Improver of Property Owned by Another, Section 871.7
(a) This chapter does not apply where the improver is a public entity or where the improvement is made to land owned or possessed by a public entity. As used in this section, “public entity” includes the United States, a state, county, city and county, city, district, public authority, public agency, or any other political subdivision or public corporation.
(b) This chapter does not apply where the owner of the land upon which the improvement is constructed has appropriated the land to a public use and could have acquired the land for that use by exercising the power of eminent domain.
Notes
Exempts cases where the improver is a public entity or the improvement is made on land owned or possessed by a public entity, including specified governmental bodies and public corporations. It also exempts land appropriated by its owner to public use when the owner could have acquired the land for that use through eminent domain.
Use as reference
Lexinter.net | California Code, Code of Civil Procedure - CCP § 871.7 | https://laws.lexinter.net/codes/california/code-of-civil-procedure/part-2/title-10/chapter-10/section-871-7