(a) Notwithstanding any law to the contrary, a judge of a municipal court may not concurrently hold any other office or employment with the municipality. This section does not apply to any municipal official or employee who, on March 1, 2005, concurrently holds office as judge of the municipal court; provided, however, that if the official or employee either discontinues service as a municipal official or employee or discontinues service as judge of the municipal court, then the exemption granted by this section no longer applies.
(b) Notwithstanding the provisions of subsection (a) to the contrary, if a municipal charter provides that the person who serves as judge of the municipal court shall also serve as the recorder for the municipality, then the person may concurrently hold both offices.