(1) To pay the cost of permanent improvements of the district, the board of trustees of a detention facility district, of a district organized under section 2151.65 of the Revised Code, or of a combined district organized under sections 2152.41 and 2151.65 of the Revised Code may enter into an agreement with the several boards of county commissioners constituting the joint board of county commissioners. The agreement shall provide for each such board of county commissioners to pay the district a share of such costs for a stated term from the proceeds of a tax levied by the board under division (F) or (R) of section 5705.19 of the Revised Code or from funds of the county otherwise lawfully available to pay the county's share of the costs of the district's permanent improvements. County shares shall be allocated on the basis prescribed in the agreement, which may include an allocation in proportion to the taxable value of each county or in proportion to the number of children from each county who are maintained in district facilities. More than one agreement may be entered into under this division with respect to a district, and more than one agreement may exist at the same time with respect to a district. An agreement entered into under this division may be amended if the amendment is mutually agreed to by the board of trustees of the district and the several boards of county commissioners constituting the joint board of county commissioners.
If a board of county commissioners withdraws from the district before the end of the term of the agreement, the board shall be required to make payments as required in the agreement until all debt charges or loan repayments for which such payments are pledged are paid in full, unless the board of trustees agrees otherwise.