means any court (other than the court of a division) which is required to keep a record of its proceedings, and includes a magistrate or other officer holding a preparatory examination into an alleged offence;