If any reclamation district, levee district, or drainage district, has a bond issue outstanding, the board of trustees of the district shall direct the county treasurer, or officer having the custody of the funds of the district to apply any residue of such compensation after the payment of all outstanding warrants to the payment of interest on the bonds, or the principal of the bonds, or both.
Ca. Water Code § 9018