Any person who willfully contravenes a protection order or an expedited order or an order made by virtue of subsection (5), except an order made by virtue of subsection (5)(b), shall be guilty of an offence and shall be liable on conviction to a fine not exceeding $2,000 or to imprisonment for a term not exceeding 6 months or to both and, in the case of a second or subsequent conviction, to a fine not exceeding $5,000 or to imprisonment for a term not exceeding 12 months or to both.