It was clearly self defense that the man fired one shot at the officers. The officers then rained shots into the apartment without care.  The officers were plain clothes and yelling that they are police which doesn't mean anything when you have been robbed by people that have yelled police before robbing you.