body: There's been a lot of attention lately to websites getting subpoenas to hand over user information, and then potentially getting a gag order as well for the subpoena. I'm wondering (just for curiosity's sake) if a website (or any individual/company) can be legally required to either violate a contract or a ToS agreement.
  
  
  For example, if a service's ToS agreed to use a certain level of encryption for passing around private data, could a court require that encryption be changed or lifted? Or could it only subpoena the encrypted data.
  
  
  
title: Can a warrant, subpoena, court order, etc. require you to violate terms and conditions or a contract?