167. Procedure when investigation cannot be completed in twenty-four hours.

(a) the Magistrate may authorise detention of the accused person, otherwise than in custody of the police, beyond the period of fifteen days if he is satisfied that adequate grounds exit for doing so, but no Magistrate shall authorise that detention of the accused person in custody under this section for a total period exceeding sixty days and on the expiry of the said period of sixty days the accused person shall be released on bail if he is prepared to and does furnish bail, and every person released on bail under this section shall be deemed to be so released under tile provisions of Chapter XXXIX for the purpose of that Chapter ;
[(b) no Magistrate shall authorize detention of the accused in custody of the police under this section unless the accused is produced before him in person for the first time and subsequently every time till the accused remains in the custody of the police, but the Magistrate may extend further detention in judicial custody on production of the accused either in person or through the medium of electronic video linkage]
(c) no Magistrate of the second class not specially empowered in this behalf by the Government or the High Court, as the case may be, shall authorise detention in the custody of the police.]