Cal. Civ. Proc. Code § 1174
(a) If upon the trial, the verdict of the jury, or, if the case be tried without a jury, the findings of the court be in favor of the plaintiff and against the defendant, judgment shall be entered for the possession of the premises; and if the proceedings be for an unlawful detainer after neglect, or failure to perform the conditions or covenants of the lease or agreement under which the property is held, or after default in the payment of rent, the judgment shall also declare the forfeiture of that lease or agreement if the notice required by Section 1161 states the election of the landlord to declare the forfeiture thereof, but if that notice does not so state that election, the lease or agreement shall not be forfeited.
Except as provided in Section 1166a, in any action for unlawful detainer brought by a petroleum distributor against a gasoline dealer, possession shall not be restored to the petroleum distributor unless the court in the unlawful detainer action determines that the petroleum distributor had good cause under Section 20999.1 of the Business and Professions Code to terminate, cancel, or refuse to renew the franchise of the gasoline dealer.
In any action for unlawful detainer brought by a petroleum distributor against the gasoline dealer, the court may, at the time of request of either party, require the tenant to make rental payments into the court, for the lessor, at the contract rate, pending the resolution of the action.
(k) Where the landlord releases personal property pursuant to subdivision (h) to a person (other than the tenant) reasonably believed by the landlord to be its owner, the landlord is not liable with respect to that property to:
(l) Where personal property is disposed of pursuant to Section 1988 of the Civil Code, the landlord is not liable with respect to that property to: