Section 5 of the Principal Act is amended as follows:(a) by omitting from subsection (1) " section 34 of the Justices Act 1959 " and substituting " section 4E of this Act" ;(b) by inserting in subsection (1)(a) "(in this section referred to as a bail notice )" after "notice" ;(c) by omitting from subsection (1)(a) "justices;" and substituting "the Magistrates Court (Criminal and General Division);" ;(d) by omitting from subsection (2) " section 34 of the Justices Act 1959 " and substituting " section 4E of this Act" ;(e) by omitting from subsection (2)(a) "justices" and substituting "the Magistrates Court (Criminal and General Division)" ;(f) by omitting from subsection (2)(a) "a notice referred to in subsection (1) (a) ;" and substituting "the bail notice;" ;(g) by omitting from subsection (2)(b) "justices" and substituting "the Magistrates Court (Criminal and General Division)" ;(h) by omitting from subsection (3)(b) "notice referred to in subsection (1) (a) ." and substituting "bail notice." ;(i) by omitting from subsection (3A)(c) " section 106B (1) of the Justices Act 1959 ." and substituting " section 6(2) of the Restraint Orders Act 2019 ." ;(j) by omitting from subsection (4) "notice referred to in subsection (1) (a) " and substituting "bail notice" ;(k) by inserting in subsection (4) "bail" after "the" ;(l) by omitting from subsection (5) "justices" first occurring and substituting "the Magistrates Court (Criminal and General Division)" ;(m) by omitting from subsection (5) "notice referred to in subsection (1) (a) , the justices" and substituting "bail notice, that Court" ;(n) by omitting from subsection (5A) "notice referred to in subsection (1) (a) " and substituting "bail notice" ;(o) by inserting in subsection (5A) "bail" after "of the" ;(p) by omitting from subsection (5B) "a justice, the justices" and substituting "the Magistrates Court (Criminal and General Division), that Court" ;(q) by omitting from subsection (5B) " section 34A of the Justices Act 1959 ." and substituting " section 18 of the Magistrates Court (Criminal and General Division) Act 2019 ." ;(r) by omitting from subsection (6) " section 34 of the Justices Act 1959 " and substituting " section 4E of this Act" ;(s) by omitting from subsection (6) "justices" and substituting "the Magistrates Court (Criminal and General Division)" ;(t) by inserting in subsection (6) "bail" after "specified in the" ;(u) by omitting from subsection (7) "clerk of petty sessions" and substituting "district registrar" ;(v) by inserting in subsection (7) "bail" after "in the" .