Under Canadian law, pretty much anything that can be used as a weapon is illegal to carry for use as a weapon. If that fight was in a wooded area where carrying bear spray was a reasonable precaution against bears, there would be no crime. The weapon offense was for carrying bear spray with the primary intention of using it on people.