There's a major difference in intent to kill if the gun is working and loaded versus non-working and unloaded. He's trying to establish that he "never meant to hurt nobody" so when he tells it to the judge, it will carry slightly more weight.

This is not my opinion, it is simply one of the ways in which the Judge weighs what sentence s/he passes down.