"It is lucky you are not facing a more serious charge," said the judge