Justices of the peace [magistrates] in municipalities of the state of New Mexico, when sitting as municipal judges, shall turn into [in to] the municipality all fines collected for the violation of such municipal ordinances and all moneys collected from forfeited bonds or recognizances in such justice of the peace courts [magistrate courts] when being held as municipal courts shall be turned into [in to] the municipality.
NMS § 35-15-12