A judge told him: 'It's a serious offence. You didn't go looking for trouble. It came to you'