Pretty much what happened with this guy. He was severely beaten, but got a significant settlement.
Man Not Guilty in Self Defense Case Against Police During Minneapolis Riots
I wonder if the man was white would he have won the case?
In his case, they fired at him (and hit) with rubber bullets, without being initially identifiable as police.
He returned fire with his CCW pistol, missing, and laid down his pistol when he saw it was police.
I would like it to be recognized law, that cops need to be visibly cops, otherwise can be treated as bandits.