A city operating a municipal court may not repeal in its entirety that portion of its municipal code defining crimes unless the municipality has reached an agreement with the appropriate county under chapter
39.34 RCW under which the county is to be paid a reasonable amount for costs associated with prosecution, adjudication, and sentencing in criminal cases filed in district court as a result of the repeal. The agreement shall include provisions for periodic review and renewal of the terms of the agreement. If the municipality and the county are unable to agree on the terms for renewal of the agreement, they shall be deemed to have entered into an agreement to submit the issue to arbitration under chapter
7.04A RCW. Pending conclusion of the arbitration proceeding, the terms of the agreement shall remain in effect. The municipality and the county have the same rights and are subject to the same duties as other parties who have agreed to submit to arbitration under chapter
7.04A RCW.