We will never know for sure whether these agencies (the NSA especially) do what they want because the elected officials like the idea of getting illegal shit done OR because no sane official can cross them and live. Or rather what the mix is between those two motives. They really are parallel power structures...