That doesn’t do much for the cause of justice or future crimes commited by that person, does it?
What would happen to a priest that reported a criminal act divulged to him in confession?
A priest who violates the seal of confession is subject to very severe ecclesiastical penalties. According to the Code of Canon Law, a priest who deliberately reveals a penitent’s sins and identity is subject to an automatic (latae sententiae) excommunication, which can be lifted only by the Apostolic See, i.e., the Pope (see canon 1388).
On a career level, pretty much the same thing that would happen to a lawyer that reported a criminal act divulged to him in a privileged communication.
But this law allows defense attorneys professional prerogatives that it denies to clergy.