Any proprietor of a hotel who refused to receive any person as a guest by reason of such person's race, religion or colour commits an offence and is liable on summary conviction to a fine of $1,000 or to imprisonment for 12 months or to both such fine and such imprisonment.