You can imagine that a Federal Court judge confronted with that prospect, and the prospect of being enlisted in an operation conducted by CSIS, would be a diplomatic firestorm if it were ever revealed. That Federal Court judge, I think, would be quite anxious to make sure that CSIS had crossed its t's and dotted its i's.
In net, I think, the fact that a Federal Court judge is invested in supervising these sorts of activities is a gain for accountability because of the anxiety that would likely be produced by being placed in this position. What a Federal Court judge might do in practise, it's hard to discuss outside of an immediate factual context, but I would imagine that Federal Court judge would rush to superimpose all sorts of conditions on the conduct of the operations, which would minimize the degree to which it violates the foreign law and would limit the prospect that it will have these knock-on effects that would embarrass both CSIS and the Canadian government.