ST. PAUL, Minn. (AP) - Lawyers for a Minnesota police officer who killed a black man during a July traffic stop say the manslaughter case against him should be dismissed.

Attorney Paul Engh told a judge Wednesday that St. Anthony Police Officer Jeronimo Yanez perceived a threat to his life and responded accordingly.

But prosecutor Jeff Paulsen said Philando Castile had the right not to be killed for no good reason. He said the case should proceed to trial because many facts are disputed.

Among them, he said, are whether Castile was impaired by marijuana, whether he was reaching for his wallet and whether Yanez saw a gun.

Judge William Leary expects to issue a decision Wednesday afternoon.

Castile's girlfriend was in the car with him and streamed the aftermath of the shooting live on Facebook.