Any leper who enters any vehicle used for carrying persons for fee or reward or lodges in any hotel, boarding house or lodging-house shall be liable on summary conviction by a magistrate to be committed to a leper asylum to be detained there until discharged by order of the Governor General.