Where the board of county commissioners of a county, or legislative authority of a municipal corporation having no workhouse, has made provisions for receiving prisoners into the workhouse of a city in any other county or district in the state, a court or magistrate, where imprisonment in jail may lawfully be imposed in such case, may sentence persons convicted of a misdemeanor, including a violation of a municipal ordinance, to such workhouse.
R.C. §2947.18