no Magistrate of the second class, not specially empowered in this behalf by the High Court, shall authorise detention in the custody of the police.
Explanation I – For the avoidance of doubts, it is hereby declared that, notwithstanding the expiry of the period specified in paragraph (a), the accused shall be detained in custody so long as he does not furnish bail.
Explanation II – If any question arises whether an accused person was produced before the Magistrate as required under clause (b), the production of the accused person may be proved by his signature on the order authorising detention or by the order certified by the Magistrate as to production of the accused person through the medium of electronic video linkage, as the case may be.
2A. Notwithstanding anything contained in Sub-Section (1) or Sub-Section (2), the officer in charge of the police station or the police officer making the investigation, if he is not below the rank of a sub-inspector, may, where a Judicial Magistrate is not available, transmit to the nearest Executive Magistrate, on whom the powers of a Judicial Magistrate or Metropolitan Magistrate have been conferred, a copy of the entry in the diary hereinafter prescribed relating to the case, and shall, at the same time, forward the accused to such Executive Magistrate, and there upon such Executive Magistrate, may, for reasons to be recorded in writing, authorise the detention of the accused person in such custody as he may think fit for a term not exceeding seven days in the aggregate;
and on the expiry of the period of detention so authorised, the accused person shall be released on bail except where an order for further detention of the accused person has been made by a Magistrate competent to make such order;
and, where an order for such further detention is made, the period during which the accused person was detained in custody under the orders made by an Executive Magistrate under this Sub-Section, shall be taken into account in computing the period specified in paragraph (a) of the proviso to Sub-Section (2):
Provided that before the expiry of the period aforesaid, the Executive Magistrate shall transmit to the nearest Judicial Magistrate the records of the case together with a copy of the entries in the diary relating to the case which was transmitted to him by the officer in charge of the police station or the police officer making the investigation, as the case may be.
Provided further that in case of a woman under eighteen years of age, the detention shall be authorised to be in the custody of a remand home or recognised social institution.