One could say that the more important question is: Why are there armed persons at the location in question?
If the police had not been there at all, or had been issued a standard warrant, the the "who shot first" issue is not a question that needs to be asked.