Pretty soon we'll have depositions where the bots explain they thought they saw a weapon and were in fear for their lives.
Counsel: "How do you explain the nanny cam footage of you planting a weapon?"
Robot: "I have encountered an exception and must power off. Shutting down."