Judge Andrew Napolitano explained today a case that pits Twitter against the Justice Department over government surveillance. Twitter wants to make public government requests for users' information.

Here's more background on the case from AP:

NEW YORK –  Twitter is suing the FBI and the Department of Justice to be able to release more information about government surveillance of its users.

The social media company filed a lawsuit Tuesday in a California federal court to publish its full "transparency report," which documents government requests for user information. Twitter Inc. published a surveillance report in July but couldn't include the exact number of national security requests it received because Internet companies are prohibited from disclosing that information, even if they didn't get any requests.

The San Francisco-based company said in a blog post that it believes it's entitled under the First Amendment to "respond to our users' concerns and to the statements of U.S. government officials by providing information about the scope of U.S. government surveillance."

The U.S. government has been able to access phone networks and high-speed Internet traffic for years to catch suspected criminals and terrorists. The FBI also started pushing technology companies like Google, Skype and others to guarantee access to their data streams and grab emails, video chats, pictures and more. It recently emerged that Yahoo was threatened with a daily fine of $250,000 by the U.S. government if it didn't comply with demands to give up information on its users. A secret 2007 lawsuit and subsequent appeal was ultimately unsuccessful, the company said last month after a federal judge ordered some material about the court challenge to be unsealed.

Technology companies say they turn over information only if required by court order, and in the interest of transparency with their customers, want to share information about the government's activities.

"Our ability to speak has been restricted by laws that prohibit and even criminalize a service provider like us from disclosing the exact number of national security letters ('NSLs') and Foreign Intelligence Surveillance Act ('FISA') court orders received — even if that number is zero," Ben Lee, Twitter's vice president of legal, wrote in a blog post.

In January, the Justice Department and five leading Internet companies including Google Inc., Facebook Inc., Yahoo Inc., and LinkedIn Corp., agreed to a compromise that would allow the firms to reveal how often they are ordered to turn over information about their customers in national security investigations.

Napolitano emphasized that in a national security letter, one FBI agent - not a judge - authorizes another agent to issue a warrant. It's allowed under the Patriot Act, which Napolitano explained is the same set of laws that allows the government to keep the requests secret.

"Twitter is saying, we got so many of these, we want the public to know how many we got," he said

When asked who will prevail in the case, he pointed to constitutional questions about the anti-terror laws passed after 9/11.

"The First Amendment says Congress shall make no law abridging the freedom of speech. The Patriot Act abridges the freedom of speech," he said.

Watch the judge's analysis of the case above.