A person who—
shall be guilty of an offence if he discloses, otherwise than in the course of his duty or as authorised by the Scottish Ministers, any information which he acquired in the course of his employment and which relates to a particular prisoner.
A person guilty of an offence under subsection (1) above shall be liable—