I read the whole opinion from the 9th circuit last night because I was shocked that the 9th circuit (supposedly one of the most liberal) would hand down such an opinion.
From what I gathered, basically the US can break the law, but the government cannot be held responsible in the courts. The only people who can be held responsible are the office holders themselves (Barak Obama, Robert Muller, etc.). However, in this particular case, the could not be held responsible for damages related to the surveillance since they were just fulfilling their duties as officeholders. And the government itself could not be held responsible, as it had not waived sovereign immunity (a legal principle that says the state (or king!) can do no wrong).
http://blogs.law.harvard.edu/philg/2009/10/28/is-it-fair-to-...
In fact, I don't think there's even a law that says the US has sovereign immunity, it's one of those things that just is.