Every person dispossessed or ejected from any real property by the judgment or process of any court of competent jurisdiction, who, not having right so to do, reenters into or upon or takes possession of the real property, or induces or procures any person not having right so to do, or aids or abets such a person therein, is guilty of a contempt of the court by which the judgment was rendered or from which the process issued. Upon a conviction for contempt the court must immediately issue an alias process, directed to the proper officer, and requiring the officer to restore possession to the party entitled under the original judgment or process, or to the party's lessee, grantee, or successor in interest. No appeal from the order directing the issuance of an alias writ of possession stays the execution of the writ, unless an undertaking is executed on the part of the appellant to the effect that the appellant will not commit or suffer to be committed any waste on the property, and if the order is affirmed, or the appeal dismissed, the appellant will pay the value of the use and occupation of the property from the time of the unlawful reentry until the delivery of the possession of the property, pursuant to the judgment or order, not exceeding a sum to be fixed by the judge of the court by which the order for the alias writ was made.
Ca. Civ. Proc. Code § 1210