Notwithstanding any provision of this code to the contrary, active and senior status judges appointed under Article III of the United States Constitution and federal magistrate-judges, who are residents of this state, are authorized to perform marriages in any county of this state.