(a) At or after the time he files an application for a writ of possession, the plaintiff may apply for a temporary restraining order by setting forth in the application a statement of grounds justifying the issuance of such order.
(b) A temporary restraining order may issue ex parte if all the following are found:
(1) The plaintiff has established the probable validity of his claim and entitlement to possession of the property, pursuant to an innkeepers’ lien.
(2) The plaintiff has provided an undertaking as required by Section 1861.21.
(3) The plaintiff has established the probable validity that there is an immediate danger that the property claimed may become unavailable to levy by reason of being transferred, concealed, or removed, or may become substantially impaired in value.
(c) If at the hearing on the issuance of the writ of possession the court determines that the plaintiff is not entitled to a writ of possession, the court shall dissolve any temporary restraining order; otherwise, the court may issue a preliminary injunction to remain in effect until the property claimed is seized pursuant to the writ of possession.
(Added by Stats. 1979, Ch. 964.)