The privilege is a first privilege upon the road-beds, tracks, rights of way, and franchises of the railroad, and has priority over all other mortgages or encumbrances and shall be paid by preference out of the proceeds of the sale of the road-beds, tracks, rights of way, and franchises of the railroad, under foreclosure or otherwise.
La. R.S. § 9:4903