Prosecutor: Officer justified in shooting at man near Sacred