(1) All liabilities of a city or town that is annexed to a rural county library district or intercounty rural library district, which liabilities were incurred for the purpose of or in the course of acquiring, operating, or maintaining a library or libraries, may, if provided for in the ordinance providing for annexation and in the resolution of the district consenting to annexation, pass to and be assumed by the rural county library district or intercounty rural library district. Notwithstanding the foregoing, if the city or town has incurred any voted bonded indebtedness for the purpose of acquiring, operating, or maintaining a library or libraries, and if the indebtedness is outstanding at the time of the annexation, the voted bonded indebtedness shall not be assumed by the annexing district.
(2) Notwithstanding subsection (1) of this section, if the annexed city or town has outstanding at the time of the annexation any voted bonded indebtedness incurred for the purpose of acquiring, operating, or maintaining a library or libraries, a special election may be called by the board of trustees of the rural county library district or intercounty rural library district, to be held at the next general or special election held in the applicable county or counties, for the purpose of affording the voters residing within the area of the district outside the annexed city or town an opportunity to assume the voted bonded indebtedness of the annexed city or town upon the assent of three-fifths of the voters.