Section 27G of the Principal Act is amended as follows:(a) by omitting from subsection (1)(b) "the court whenever it directs" and substituting "a court whenever the court directs" ;(b) by omitting from subsection (1)(d) "the court" and substituting "a court" ;(c) by omitting from subsection (1)(g) "the court" and substituting "a court" ;(d) by omitting from subsection (1)(h) "the court" and substituting "a court" ;(e) by omitting from subsection (5) "The court" and substituting "A court" ;(f) by inserting the following subsection after subsection (5) :(6) A court or a justice may remand in custody an offender arrested under a warrant issued under subsection (5) to appear before a court as soon as practicable.