Not sure how they think they can "protect" the rioters. If they intervene and shoot someone it's still murder. They are allowed guns for self defence, not to act like a militia.
It entirely depends on the circumstances leading up to the (hypothetical) shooting, doesn't it?
If they are attacked and believe that their life is in danger, they may be perfectly entitled to argue self-defence — as this case has shown.