Cal. Civ. Code § 3080.06
(a) At the hearing, the court shall consider the showing made by the parties and shall issue an order authorizing the sale of the livestock if it finds all of the following:
(b) The order authorizing sale shall:
(c) The court may in its discretion do either of the following:
(2) Determine the amount of sale proceeds reasonably necessary to satisfy the indebtedness secured by the livestock service lien and order any portion or all of the remaining sale proceeds distributed and applied as set forth in paragraph (3) of subdivision (c) of Section 3080.16.
The balance of sale proceeds, if any, remaining after any deductions authorized in this section shall be deposited with the clerk of the court pursuant to this section.