Any costs to a county, municipality or other political subdivision, public corporation, agency or instrumentality of the state, a county or municipality shall be paid annually out of funds of the county, municipality or other political subdivision, public corporation, agency or instrumentality of the state or any county or municipality.