In this chapter—
"trial" includes—
(a) a proceeding for a person’s bail or remand; and
(b) a committal proceeding; and
(c) a proceeding in which a person is to be sentenced.
(a) for a proceeding for a person’s bail or remand—the judge or magistrate, or a justice constituting a Magistrates Court, who presides or presided at the proceeding; or
(b) for a committal proceeding—a magistrate, or a justice constituting a Magistrates Court, who presides or presided at the proceeding; or
(c) otherwise—the judge or magistrate, or 2 justices constituting a Magistrates Court, who preside or presided at the court of trial.