Why would they do that? Isn't that just a waste of fuel? I know some people do that in extremely cold climates because they won't get the engine to start again otherwise, but I would guess unless you're in Alaska that shouldn't be an issue.
Perhaps you are right about Alaska though, much colder there.
Newer vehicles usually only require the OBDII review and they will double check codes haven't been cleared recently and all sensors are in spec. No dyno or tailpipe measurements are required in CA on year 2000 and newer.
This is why smog shops offer $20-$40 for year 2000 and newer and $70+ for 1999 and older. It's more human time intensive to test year 1999 and older.
Post OBDII, codes not recently cleared is also reported by OBDII. It is just software, and the software can pretend what the programmer wants.
So I maintain my answer: always
And the answer is usually, "maybe." So many cars are just behind on the maintenance that one expensive checkup is all it takes before they pass and become slightly less noxious on the road.
The biggest, most infuriating thing for me however is professional drivers / truckers that insist upon idling because "WELL the sticker says its CALIFORNIA clean idle certified!" That doesnt mean people wont hate you for filling the streets with diesel fumes while you finish your lunch.