Cops have used the "odor of marijuana" for years as probable cause to search vehicles. AFAIK the courts have generally supported it.
For example, in the 3rd district in New Jersey the odor is not enough because MJ is legal in NJ.
Looks like for this specific case odor is enough. [1]
[1] https://www.wisbar.org/NewsPublications/InsideTrack/Pages/Ar...