A court by or before which a person is convicted of—
shall order to be forfeited any written material or recording produced to the court and shown to its satisfaction to be written material or a recording to which the offence relates.
An order made under this section shall not take effect—
For the purposes of subsection (2)(a)—
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .