(a) Upon filing the complaint, the plaintiff may, upon motion, have immediate possession of the premises by a writ of possession of a manufactured home, mobilehome, or real property issued by the court and directed to the sheriff of the county or marshal, for execution, where it appears to the satisfaction of the court, after a hearing on the motion, from the verified complaint and from any affidavits filed or oral testimony given by or on behalf of the parties, that the defendant resides out of state, has departed from the state, cannot,
after due diligence, be found within the state, or has concealed himself or herself to avoid the service of summons. The motion shall indicate that the writ applies to all tenants, subtenants, if any, named claimants, if any, and any other occupants of the premises.
(b) Written notice of the hearing on the motion shall be served on the defendant by the plaintiff in accordance with the provisions of Section 1011, and shall inform the defendant as follows: “You may file affidavits on your own behalf with the court and may appear and present testimony on your own behalf. However, if you fail to appear, the plaintiff will apply to the court for a writ of possession of a manufactured home, mobilehome, or real property.”
(c) The plaintiff shall file an undertaking in a sum that shall be fixed and determined by the judge, to the effect that, if the plaintiff fails to recover judgment
against the defendant for the possession of the premises or if the suit is dismissed, the plaintiff will pay to the defendant those damages, not to exceed the amount fixed in the undertaking, as may be sustained by the defendant by reason of that dispossession under the writ of possession of a manufactured home, mobilehome, or real property.
(d) If, at the hearing on the motion, the findings of the court are in favor of the plaintiff and against the defendant, an order shall be entered for the immediate possession of the premises.
(e) The order for the immediate possession of the premises may be enforced as provided in Division 3 (commencing with Section 712.010) of Title 9 of Part 2.
(f) For the purposes of this section, references in Division 3 (commencing with Section 712.010) of Title 9 of Part 2 and in
subdivisions (e) to (m), inclusive, of Section 1174, to the “judgment debtor” shall be deemed references to the defendant, to the “judgment creditor” shall be deemed references to the plaintiff, and to the “judgment of possession or sale of property” shall be deemed references to an order for the immediate possession of the premises.