In any municipality where a municipal judge is appointed or elected, the governing authorities shall have the power and authority to appoint a municipal judge pro tempore who shall have the same powers and qualifications for office as the municipal judge and shall perform all duties of the municipal judge in the absence of such municipal judge or if such municipal judge is unable to serve for any reason. In the event a municipal judge pro tempore is not appointed or is absent or unable for any reason to serve, any justice court judge of the county or municipal judge of another municipality may serve in his place with the same power and authority upon designation by the municipal judge. Any municipality that appoints a municipal judge pro tempore in the absence of a municipal judge or has a justice court judge serve in the absence of a municipal court judge, as provided in this section, is authorized to compensate that municipal judge pro tempore or justice court judge in the same manner and amount as the municipality provides for the appointed or elected municipal judge who is absent.