Cal. Civ. Proc. Code § 1255.410
(a) At the time of filing the complaint or at any time after filing the complaint and prior to entry of judgment, the plaintiff may move the court for an order for possession under this article, demonstrating that the plaintiff is entitled to take the property by eminent domain and has deposited pursuant to Article 1 (commencing with Section 1255.010) an amount that satisfies the requirements of that article.
The motion shall describe the property of which the plaintiff is seeking to take possession, which description may be by reference to the complaint, and shall state the date after which the plaintiff is seeking to take possession of the property. The motion shall include a statement substantially in the following form: “You have the right to oppose this motion for an order of possession of your property. If you oppose this motion you must serve the plaintiff and file with the court a written opposition to the motion within 30 days from the date you were served with this motion.” If the written opposition asserts a hardship, it shall be supported by a declaration signed under penalty of perjury stating facts supporting the hardship.
(d)
(1) If the motion is not opposed within 30 days of service on each defendant and occupant of the property, the court shall make an order for possession of the property if the court finds each of the following:
(2) If the motion is opposed by a defendant or occupant within 30 days of service, the court may make an order for possession of the property upon consideration of the relevant facts and any opposition, and upon completion of a hearing on the motion, if the court finds each of the following:
(e)
(1) Notwithstanding the time limits for notice prescribed by this section and Section 1255.450, a court may issue an order of possession upon an ex parte application by a water, wastewater, gas, electric, or telephone utility, as the court deems appropriate under the circumstances of the case, if the court finds each of the following: