A magistrate may order that a person convicted of a traffic offence, in addition to any penalty imposed, pay damages to any person who suffers injury or damage to property, as a result of the commission of the offence.