The governing body may by ordinance or bylaw abolish the 5
municipal court as part of a consolidation under s. 66.0229 or at the end of any term 6
for which the judge has been elected or appointed, but only if the ordinance or bylaw
7abolishing the court is submitted to the appropriate filing office under s. 11.0102 (1)
8(c) and to the director of state courts prior to October 1 of the year preceding the end
9of the term for which the judge has been elected or appointed
. The governing body 10
may not abolish the municipal court while an agreement under sub. (4) is in effect.”.