A barrister may report confidential client communications to police where their client has threatened the safety of another person, but going beyond such discrete instances is ethically fraught.
Unless Lawyer X had next to no role in the defence of her clients, all the results of any trial where she represented them could be overturned. And this could mean release from prison with no retrial.
The royal commission will examine the conduct of a defence barrister who became an informant to the police - supplying information on her own clients that had been given to her in strict confidence.