That's simply not true. I've stayed at PH, TI, and the Venetian over the last 3 years for conferences and personal travel, I pass on housekeeping the whole week, and there have been no security checks like you describe.
I heard of many things. There is an infinite repertoire of possible techniques how they could have verified that nobody entered their room. Ranging from the low tech (dust, crisps, hair stuck to the door frame, filling the room with angry bobcats), through the social engineering (befriended the head of security who told them), to ultra high tech (lidar triggered camera array reporting to a satellite ).
On a balance of probabilities without hearing more on how they specifically verified it I will still assume the alternate hypothesis. Which is that someone on the internet is very sure about something and they are wrong.
It is not due to a lack of imagination. Or because I haven't heard some cool spy trick you have heard about. It's because I find it (in the absence of other information) the most likely explanation given a lifetime of observations about human nature.
Personally, I don’t believe they check every room every day for the simple reason that no hotel is going to pay (or properly supervise) the manpower required to actually do that, unless they really have to. Which even the most paranoid of them would realize was unnecessary after a month or two.
C’mon.
These are the same people that started to not change linens or provide new clean towels unless you ask (or infrequently) for ‘environmental reasons’. (Aka profit margins)
And yes, back in the day it was normal for housekeeping to clean every occupied room every day, unless you told them not to. Unless you were in a roach motel or something.
I'm white, blue eyed and speak without an accent but I do have friends of shall we say Mediterranean complexion who have run into problems with hotel security.
It's all in the small print too which nobody reads (these hotels have legal advisors).