No, they will be shooting at those enforcing what they are fighting against. It won't happen as a result of the system "working" but rather because it doesn't and all other options have been tried and ruled out as being no longer viable. I think you meant to say "the only police getting shot at in that situation are the idiots too stupid to realize they are on the wrong side".
Fine, I'll be on the wrong side. The other had better pack a lunch.