Translation of "Self-denunciation" in German

Whether reading aloud this text is a speculative act out of vanity or a piece of psychological self-denunciation, is neither here nor there.
Ob es ein spekulativer Akt ist, diesen Text aus Eitelkeit oder als psychische Selbstanzeige zu sprechen, bleibt dahin gestellt.
ParaCrawl v7.1

By way of this self-denunciation, the man, a fugitive following a theft in Hildesheim, attempted to portray himself as a victim of seduction, thus prompting a series of police searches for homosexuals.
Durch diese Selbstanzeige versuchte sich der nach einem Diebstahl in Hildesheim flüchtige Mann gegenüber der Polizei als Verführungsopfer darzustellen und löste dadurch eine Reihe von Fahndungen nach homosexuellen Männern aus.
ParaCrawl v7.1