That's sometimes how Japan does it as well. A few years back I had to take a day trip from Tokyo to Sapporo to install a piece of hardware.
At the Tokyo Narita airport, this Japanese guy in jeans and a leisure jacket standing next to me suddenly pulled out a badge and said (in English), "Police." That was unusual, but he went away after asking me a few questions about where I was going.
When I arrived at Sapporo, I collected my bag and was walking to the bus when this Japanese guy in jeans and a leisure jacket walked over to me, pulled out a badge, and said (in English), "Police." He too asked me a few questions and went away.
When I returned to the airport a few hours later to fly back to Tokyo, this young woman in an Oakland Raiders jacket came over to where I was buying a drink from a vending machine and asked where I was from. I told her that I was actually from northern California and the Raiders were my home team. After chatting with her for a couple minutes, I went to find my gate, and as I was walking this Japanese guy in jeans and a leisure jacket stepped over to me and pulled out a badge and said (in English), "Police."
And yes, it happened again one more time when I got back to Narita.
So the MO was obviously, "Find all visually identifiable persons of non-Japanese ethnicity and conduct a brief interview. And dress casually!"
It was slightly annoying, but they were all reasonably polite. I told the fourth cop that I had been stopped four times that day, and asked why they were doing it, and he told me there was some sort of Asian economic summit happening. ¯\_(ツ)_/¯