(AP) – A judge says attorneys for a former suburban Minneapolis police officer on trial for fatally shooting a Black motorist can call a witness at trial to testify about behavior errors.

Defendant Kim Potter said she meant to use a Taser instead of a handgun when she shot and killed Daunte Wright after he was stopped in April for a traffic violation. Defense attorneys have said they plan to call forensic and police psychologist Laurence Miller to discuss “slip and capture errors,” which they believe caused Potter to mistakenly fire her handgun at Wright instead of her Taser.

Prosecutors had filed a motion to exclude or limit Miller’s testimony, arguing that it was “not relevant and would not be helpful to the jury.”