(a) To the extent necessary to grant the relief sought or other appropriate relief, the court shall determine the status and priority of all liens upon the property.
(b) The court may appoint a referee to ascertain the facts necessary for the determination required by this section. Upon application of the referee or a lienholder, the court shall direct the issuance of process to compel attendance of witnesses, the production of books, documents, or things, and the filing of verified claims. The report of the referee thereon shall be made in writing to the court and shall be confirmed, modified, or set aside and a new reference ordered, as the justice of the case may require.
(Added by Stats. 1976, Ch. 73.)