California Harbors And Navigation Code Section 517
The rejection by the judge of any claim shall not preclude the
claimant from maintaining an action against the officer for the
recovery of the property or its proceeds. If the plaintiff prevails,
there shall be deducted from the damages, in addition to salvage and
expenses, all the defendant's costs.