A bottomry lien, if created out of a real or apparent necessity, in good faith, is preferred to every other lien or claim upon the same thing, excepting only a lien for seamen's wages, a subsequent lien of material-men for supplies or repairs indispensable to the safety of the vessel, and a subsequent lien for salvage.
Ca. Harb. and Nav. Code § 461