In no prosecution under ORS 162.195 or 162.205 shall counsel representing the defendant on the underlying charge for which the defendant is alleged to have failed to appear be called to testify by the state as a witness against the defendant at any stage of the proceedings including, but not limited to, grand jury, preliminary hearing and trial. However, upon written motion by the state, and upon hearing the matter, if the court determines that no other reasonably adequate means exists to present evidence establishing the material elements of the charge, the counsel representing the defendant may be called to testify.
ORS 162.193