Notwithstanding anything contained in any law for the time being in force, no owner, driver or person in charge of a public conveyance shall be bound to convey or to allow to be conveyed in such conveyance in or in the vicinity of a cantonment any person suffering from an infectious or contagious disease or the corpse of any person who has died ...