Apparently they were given information by the US embassy that these people were an "active thread". Perhaps they could have figured out that this was bullshit sooner, but I don't think it's the police who are at fault here.
The wording is so ambiguous, they should've determined what's the threat first. Or else anybody could point at anybody and say "active threat".
Most likely they still would've been kicked, but without being detained.