This section applies to a contravention of a civil penalty provision in a corresponding way to the way in which it applies to an offence.