(3) A person who obstructs, or attempts to obstruct, whether actively or passively, any officer in the execution, or purported execution, of his or her duties under this section, is liable, on summary conviction, to imprisonment with hard labour for 6 months or to a fine of $500 or to both such imprisonment and fine.