139. (1) Every one who wilfully attempts in any manner to obstruct, pervert or defeat the course of justice in a judicial proceeding,
(a) by indemnifying or agreeing to indemnify a surety, in any way and either in whole or in part, or
(b) where he is a surety, by accepting or agreeing to accept a fee or any form of indemnity whether in whole or in part from or in respect of a person who is released or is to be released from custody,
is guilty of
(c) an indictable offence and is liable to imprisonment for a term not exceeding two years, or
(d) an offence punishable on summary conviction.
(2) Every one who wilfully attempts in any manner other than a manner described in subsection (1) to obstruct, pervert or defeat the course of justice is guilty of an indictable offence and liable to imprisonment for a term not exceeding ten years.