A traffic stop based on allegedly obstructive items dangling from a rearview mirror that led officers to discover a handgun was lawful, a divided appeals court ruled.

The 3-1 majority of the Appellate Division, Second Department, affirmed David Bookman’s conviction and a lower court’s refusal to suppress the gun, saying the officer sufficiently expressed probable cause to make the stop.