Court to decide when question is to be asked and when witness compelled to answer
150.—(1)  If any question relates to a matter not relevant to the suit or proceeding, except insofar as it affects the credit of the witness by injuring his or her character, the court is to decide whether or not the witness is to be compelled to answer it, and may, if it does not think fit to compel him or her to answer the question, warn the witness that he or she is not obliged to answer it.
(2)  In exercising its discretion, the court is to have regard to the following considerations:
(a)such questions are proper if they are of such a nature that the truth of the imputation conveyed by them would seriously affect the opinion of the court as to the credibility of the witness on the matter to which he or she testifies;
(b)such questions are improper if the imputation which they convey relates to matters so remote in time or of such character that the truth of the imputation would not affect or would affect in a slight degree the opinion of the court as to the credibility of the witness on the matter to which he or she testifies;
(c)such questions are improper if there is a great disproportion between the importance of the imputation made against the witness’s character and the importance of his or her evidence;
(d)the court may, if it sees fit, draw from the witness’s refusal to answer, the inference that the answer, if given, would be unfavourable.