IF you have a brand new CO2 cartridge it wil definitely hurt. May even penetrate the skin. But it's not advisable, it's better to call 911. BUT IF YOU FEEL LIKE YOUR LIFE IS IN DANGER the law allows you to respond with deadly force, if necessary.
https://laws-lois.justice.gc.ca/eng/act ... 6.html#h-9