The same restrictions apply to the NSA, and we all know how much that mattered to them. Why do you think the CIA is different?
The only person who got in trouble for the domestic surveillance disclosures were the person who blew the whistle. That's because what he did was illegal and what they did wasn't.