The story
Coined in 1971 from an incident in which Pressdram, publisher of Private Eye magazine, received a legal letter from a solicitor acting for a Mr Arkell. Pressdram's reply stated: We note that Mr Arkell's attitude to damages will be governed by the nature of our reply and would therefore be grateful if you would inform us what his attitude to damages would be, were he to learn that the nature of our reply is as follows: fuck off. The phrase is written as a pseudo-legal citation, as if Arkell v Pressdram were a real court case, although the proceedings never actually made it to court.
Etymology from Wiktionary, CC BY-SA 4.0.