Dockery
(noun)
Facetious behaviour adopted by an accused man in the mistaken belief that this will endear him to the judge.
source : The Meaning of Liff