If, in any case, the amount of salvage and expenses is not settled by agreement, on the application of the owner or consignee of the property, or the master or supercargo having charge at the time of the wreck, or of a claimant having an order for the property, or of a person claiming salvage or expenses, the superior court of the county shall determine the amount of salvage and expenses in a summary way, either by itself hearing the allegations and proofs, or by referring the questions to three disinterested freeholders of the county, who shall have the same powers and shall proceed in the same manner as referees in civil actions. Their decisions as to the whole amount and as to the sums to be paid to each person interested shall be entered as the judgment of the court.