Courts analyze the scope of the confidentiality agreement, its impact on the public interest, and the relevance and necessity of the confidential information to ongoing litigation.
For example: A court might assess whether upholding a confidentiality clause between a pharmaceutical company and a former researcher would impede an investigation into alleged medication defects that pose a public health risk.