Yes, of course it is the right decision.
I know its a very simple argument which people will, no doubt, try and shoot down in flames, but I'm a firm believer in the obvious premise that if you aren't commtting a burglary, you can't get injured should you be discovered.
Should you be discovered, and you are injured, well tough - you've left all of your rights at the front door when you decided to enter uninvited with a view to helping yourself to goods you have no right to.
Unfortunately, the law doesn't agree with me.
I've been burgled and it is a heinous crime - the sense of violation is awful. The little charmers in my case also decided to crap all over the house.