(10)Every person arrested under sub-section (8) shall within twenty-four hours, be taken to a Judicial Magistrate or a Metropolitan Magistrate, as the case may be, having jurisdiction:Provided that the period of twenty-four hours shall exclude the time necessary for the journey from the place of arrest to the Magistrate’s court.