Unfortunately the LAW is clear on this, when HE REMOVED his gun from the Holster, INTENT WAS ESTABLISHED, An Accident is IMPOSSIBLE AT THIS POINT.
Now if it went off while it was in his holster, you would have a valid point.
Unfortunately the LAW is clear on this,
...
Great. Show me the California law that applies to a police officer in that situation.