31. When contempt may be dealt with summarily
(1) If an alleged contempt occurs ¾
(a) while the Court, constituted by a magistrate or JP, is sitting; or
(b) in respect of a magistrate or JP who is about to, or who has just, constituted the Court,
and the magistrate or JP is satisfied that the alleged contempt should be dealt with immediately because it is an immediate threat to the authority of the Court or to the integrity of the proceedings, the officer may deal with it summarily.
(2) If a magistrate or JP decides to deal with an alleged contempt summarily, he or she must if practicable, orally inform the defendant of the nature and particulars of the alleged contempt.