Officer shooting suspect in court