Cops will defend the cells if they're committed to keeping you in jail. I do it too because of the rampant uncuffing and breaking-in of the PD. If players are constantly broken out then the killing won't stop. Self-defense is up to the judgement of the cop.
I'll say it myself, if you full jail people that defend themselves then you're an ass. Use common sense people, don't make it complicated.