The purpose of the safer communities legislation, according to the province, is to protect against the harmful effects of specified illegal activities including the use of properties for selling illegal drugs.