(1) A person commits the offence of contempt of court if he or she—
(a) assaults a judge or any other judicial officer while he or she is carrying out his or her official functions in the Court or threatens to assault the person in Court during Court proceedings;
(b) disturbs or obstructs Court proceedings by insulting behaviour;
(c) by words or conduct wilfully interrupts or disturbs proceedings of the Court;
(d) wilfully with force or threats hinders the person from entering or leaving any Court or removes any person from, or detains him or her in any Court;
(e) being a witness, without lawful excuse, refuses to be sworn or on being sworn in refuses to answer any question;
(f) being counsel in proceedings of a Court fails or refuses without lawful excuse to obey an order of the Court;
(g) publishes any matter which is intended or is likely to prejudice the fair trial or conduct of criminal proceedings;
(h) publishes any matter which prejudges issues which are to be tried or are being tried by the Court;
(i) publishes any matter which is calculated to bring the Court or a Judge into contempt or to lower his or her authority or the lawful process of the Court;
(j) makes any false or misleading statement either orally or in writing to or concerning a judge or magistrate in respect of the performance of his or her function which is calculated or is likely to bring him or her into ridicule odium or contempt.
(2) A person who commits of an offence under subsection (1) is liable on conviction on indictment to imprisonment for 2 years.