Judge lays down the law with handjob