Laws and the public good
A broad comment.
There seems to be an unhealthy trend to legalize things that intelligence services want to do, and to hope or assume that such legalization won't then be used in a malign way by future governments.
Surely it's far better to turn a selectively blind eye to intelligence agencies breaking a the law, provided they are still operating in the nation's interest and not using illegally obtained intelligence in any way that's outside their remit. Then should they step out of the dark grey zone in which they are supposed to operate, it's far easier for the courts to do something about it.
If I'm unclear ... for you or I to break some speed limits is justified if we are getting a seriously ill person to hospital as fast as reasonably possible. The crown prosecution service would hopefully decide that to prosecute was not in the public interest. It's not written into the law which circumstances permit what degree of aggressive driving. How could it be? You have to claim that what you were doing was illegal but to the greater public good, and if necessary let a court decide.