s 5 Duty to produce person in custody before a Magistrate
(1) Upon the expiry of the period of twenty-eight days from the date of any order made under paragraph 4(2)(a) the person remanded in custody thereunder shall, if not sooner released, be taken before a Magistrate, who shall— (a) if satisfied that there has been unreasonable delay in completing proceedings under this Act, and there are no other grounds on which the person is lawfully detained, direct his release; (b) in any other case order the person to be remanded in custody or direct that he be subject to the supervision of the police, for such further period, not exceeding twenty eight days, as he may think necessary for the purpose of completing proceedings under this Act. (2) Upon the expiry of the period of any order made under paragraph (1)(b) any person remanded in custody thereunder shall, unless sooner released (and whether or not proceedings under this Act have been completed) be taken before a Magistrate, who shall, if there are no other grounds on which the person is lawfully detained, thereupon direct his release.