Any person who practises any fraud or deceit, or knowingly makes or exhibits any false statement, representation, token, or writing, to any person called or to be called as a witness in any judicial proceeding, with intent to affect the testimony of such person as a witness, is guilty of a misdemeanour, and is liable to imprisonment for 3 years.