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)—
For the purposes of subsection (2)(b) the lodging of an application for a stated case or note of appeal against sentence shall be treated as the institution of an appeal.