For the purposes of this section a hearing is a pre-trial hearing if—
For the purposes of subsection (1)(b), the start of a summary trial occurs when the court begins—
At a pre-trial hearing, a magistrates' court may make a ruling as to any matter mentioned in subsection (4) if—
The matters are—
The condition is that, if the accused is not legally represented . . . —
A ruling may be made under this section—
For the purposes of this section and section 8B, references to the prosecutor are to any person acting as prosecutor, whether an individual or body.