Upon the filing of such a petition, the court shall specify a time, not exceeding 20 days after the service of the copy of the petition, within which the household mover complained of shall answer the petition, and in the meantime the household mover may be restrained. In case of default in answer, or after answer, the court shall immediately inquire into the facts and circumstances of the case. Those corporations or persons that the court deems necessary or proper to be joined as parties, in order to make its judgment, order, or writ effective, may be joined as parties. The final judgment in any such action or proceeding shall either dismiss the action or proceeding or direct that the writ of mandamus or injunction issue or be made permanent as prayed for in the petition, or in such modified or other form as will afford appropriate relief.
Ca. Bus. and Prof'l. Code § 19270