The state’s highest court has reversed an appellate court decision in a case involving a motion to suppress a gun found after a vehicle stop in Western New York.

The case centers on a 2017 arrest of a passenger on a weapon charge after being pulled over by a federal marine interdiction agent with the U.S. Customs and Border Protection, according to the opinion.