The power of eminent domain may be exercised to acquire property only for a public use. Where the Legislature provides by statute that a use, purpose, object, or function is one for which the power of eminent domain may be exercised, such action is deemed to be a declaration by the Legislature that such use, purpose, object, or function is a public use.
Ca. Civ. Proc. Code § 1240.010