If, after a lawyer has commenced acting in a proceeding, it becomes apparent that the lawyer or a member of the lawyer’s practice is to give evidence of a contentious nature, the lawyer must immediately inform the court and, unless the court directs otherwise, cease acting.