No, they don’t care if you were a thief outside. They care if you’re a thief inside. They’re not doing it just because of a code, they’re defending the tiny amount of property they’re allowed to have. We also wouldn’t even blink if a homeowner beat up a thief in their house, so this is a bit hypocritical.