Probably both. There is the specific deterrent aspect, clearly, but we know that the 21-year-olds killing each other with guns on the streets of our cities know what they're facing when they're found with a loaded gun. They know what the law is, and I'm sure if you practise criminal law you would understand that they know it.
On November 14th, 2007. See this statement in context.