Homicide is justifiable when committed by peace officers and those acting by their command in their aid and assistance, under either of the following circumstances:
(a) In obedience to any judgment of a competent court.
(b) When the homicide results from a peace officer's use of force that is in compliance with Section
835a.
Amended by Stats 2019 ch 170 (AB 392),s 1, eff. 1/1/2020.