For those interested, there is a Supreme Court of Canada case that speaks directly to this which can be found here:
https://scc-csc.lexum.com/scc-csc/sc...m/614/index.do
This case involved a random stop of a vehicle which resulted in a charge of driving without a license. The appellant lost his appeal, but the Supreme Court ruled that officers should not use "random stops" to enforce laws as they are clearly contrary to Section 9 of the Charter, which reads:
Everyone has the right not to be arbitrarily detained or imprisoned. Arbitrary detention is basically allowing an officer to stop you for no reason at all. (PAPERS! SHOW ME YOUR PAPERS!). However, if there are reasonable grounds to pull someone over (busted tail light or rolling through a stop sign) they can stop you, but (as outlined in this case) should only question you regarding the offence suspected. A cop can't pull you over and ask to look in your trunk if you rolled through a stop sign - they would need additional reasonable grounds to do something like that.
Regardless, we should be thankful we have decent Case Law and the Charter to shut down oppressive laws that impact our freedoms. The government can use Section 33 of the Charter, the "notwithstanding" clause to allow some Laws to breach the charter, but these are subject to review in Parliament, and are very serious. They could use it for a Pandemic, but again, it would be front and center news and every legal beagle in Canada would be watching carefully.
The Charter and R. v Ladouceur from our Supreme Court are likely the reasons many Police forces won't touch these "random inspections" with a 10 foot pole. Even a crappy defense lawyer like Lionel Hutz from the Simpsons would win this argument in court.