Pantsless cop shocks judge during virtual court hearing