Police shoot one of their own in a case of mistaken identity