The sheriffs of the counties and law enforcement officers of the municipalities of the State of Alabama shall obey the municipal judge having legal authority in faithfully executing the warrants and processes committed to them for service according to their mandates.