507. Every person who is guilty of an offence contemplated in sections 497 to 502 is liable, in addition to costs, to a fine of not less than $1 000 and not more than $10 000 in the case of a natural person or, in the case of a legal person, to a fine of not less than $3 000 and not more than $25 000.