It's conceivable that this somewhat works. Even if half the pictures are the wrong random white guy.
The more interesting question is what they do with the information. Does it add that much to the records they already have from your cellphone and KYC wifi use? Maybe, if you were seen talking to someone.
But I also suspect much of this is theatre. The guy at customs probably enjoys showing off his fancy tools. And the CCP likes you to see them, so that on your next visit you behave.
Anyway, may we live in interesting times...