If wrecked property is in a perishable state, the sheriff shall apply to the judge of the superior court, upon a verified petition, for an order authorizing the sheriff to sell it. If the judge is satisfied that a sale of the property would be beneficial to the persons interested, he or she shall make the order applied for, and the property shall then be sold at public auction, as specified in the order. The proceeds, deducting the expenses of salvage, storage, and sale as settled and allowed by the judge, shall be transmitted to the Treasurer for deposit in the General Fund.
Ca. Harb. and Nav. Code § 513