When are you convicted of an offence?