The article is talking about subpoenas – court orders for disclosure of relevant records, which override ethical and contractual confidentiality obligations, unless the person holding the confidential documents persuades the court to quash or limit the scope of the order.
https://www.apa.org/monitor/2016/07-08/ce-corner