The plaintiff's application for the writ shall satisfy the requirements of Section 512.010 and, in addition, shall include a showing that the conditions required by this subdivision exist. A writ of possession may issue if the court finds that the conditions required by this subdivision exist and the requirements of Section 512.060 are met. Where a writ of possession has been issued pursuant to this subdivision, a copy of the summons and complaint, a copy of the application and any affidavit in support thereof, and a notice which satisfies the requirements of subdivisions (c) and (d) of Section 512.040 and informs the defendant of his rights under this subdivision shall be served upon the defendant and any other person required by Section 514.020 to be served with a writ of possession. Any defendant whose property has been taken pursuant to a writ of possession issued under this subdivision may apply for an order that the writ be quashed and any property levied on pursuant to the writ be released. Such application shall be made by noticed motion, and the provisions of Section 512.050 shall apply. Pending the hearing on the defendant's application, the court may order that delivery pursuant to Section 514.030 of any property previously levied upon be stayed. If the court determines that the plaintiff is not entitled to a writ of possession, the court shall quash the writ of possession and order the release and redelivery of any property previously levied upon, and shall award the defendant any damages sustained by him which were proximately caused by the levy of the writ of possession and the loss of possession of the property pursuant to such levy.
Ca. Civ. Proc. Code § 512.020