Cop in court after damaging state car