They can pull your car over with cause, yes. This is something we cannot do. However, it's not illegal for you or I to view the contents of someone's car, even with a flashlight. If it's in plain sight, it's perfectly legal.
There's a lot that maybe we shouldn't do but is completely legal anyway.