Yet another example that I've dealt with from the outside: as part of regulated community, I must submit some trade secrets to the government for regulatory purposes. Those trade secrets are legally required to be kept secret by the government from disclosure. This regime allows the government to inspect things that involve trade secrets, and me from those trade secrets being disclosed to competitors.