It was revealed that Yahoo's top lawyers had a courtroom showdown with the National Security Agency after it had demanded…