(a) The defendant may prevent the plaintiff from taking possession of property, pursuant to a writ of possession, or regain possession of property so taken, by filing with the court in which the action was brought an undertaking in an amount equal to the amount of the plaintiff’s undertaking required by Section 1861.21. The undertaking shall state that, if the plaintiff recovers judgment on the action, the defendant shall pay all costs awarded to the plaintiff and all damages that the plaintiff may sustain by reason of the loss of possession of the property, not exceeding the amount of the undertaking.
(b) The defendant’s undertaking may be filed at any time before or after the levy of the writ of possession. The defendant shall mail a copy of the undertaking to the levying officer.
(c) If an undertaking for redelivery is filed, and no objection is made to the undertaking, the levying officer shall deliver the property to the defendant, or, if the plaintiff has previously been given possession of the property, the plaintiff shall deliver the property to the defendant. If an undertaking for redelivery is filed and an objection to the undertaking is made, the provisions of Section 1861.23 apply.
(Amended by Stats. 1982, Ch. 517, Sec. 68.)