(a) This section applies only in the City of Frederick.
(b) A District Court judge who tries and commits a vagrant or other offender of a municipal law or ordinance, whenever practicable, shall assign the offender to work on the public roads of the county or City of Frederick.
(c) The Sheriff or other officer into whose custody an offender is committed under this section shall comply with the court’s order of assignment.
(d) (1) An offender ordered by the court to work on the public roads of the City shall be guarded by the superintendent of streets or by any other individual deputized by the Sheriff.
(2) An offender ordered by the court to work on the public roads of the county shall be guarded by the road supervisor of the district in which the offender works.
(e) For the purpose of guarding offenders employed in accordance with a court order issued under subsection (b) of this section, the Sheriff may deputize the superintendent of streets, the district road supervisor, or any other individual to take charge of the offenders.