Possibly, but testing your guns against others with guns is not likely to end up in court. They weren't going to take you to court in the first place. Shooting at them isn't going to make that happen.
People are joking(?) about someone shooting back at one of these ICE raids, but i honestly do not see any other viable choices - it really seems to be between going with ICE to a concentration camp or dying in a firefight and taking a few pigs with ypu