Any municipality may provide by charter provision and ordinance, or notwithstanding a charter provision to the contrary, a municipality may provide by ordinance, that the governing body may vest in the recorder, assistant recorder, municipal clerk or deputy municipal clerk, the authority to issue warrants for arrest, to administer oaths, and to accept and approve sureties and bonds, and any such ordinance shall provide for the appointment of such person by confirmation of the governing body and for the removal of such authority by action of the governing body: Provided, That such person may only issue warrants, administer oaths, or accept and approve sureties and bonds, in the absence of the mayor, or if there be a police court or municipal judge, in the absence of such police court or municipal judge.