Green’s Dictionary of Slang

temple-pickling n.

[proper name the Temple, two of the Inns of Court (the Inner and Middle Temple) + SE pickle, i.e. to ‘bathe’ in liquid. During 17C any bailiff caught within the limits of the temple was automatically thus punished]

(UK Und.) the ducking of court officials beneath a pump.

[UK]B.E. Dict. Canting Crew n.p.: Temple-pickling, the Pumping of Bailives, Bumms, Setters, Pick-pockets, &c.
[UK]New Canting Dict. [as cit. c.1698].
[UK]Bailey Universal Etym. Eng. Dict. [as cit. c.1698].
[UK]Grose Classical Dict. of the Vulgar Tongue.
[UK]Lex. Balatronicum.