Errr... the UK still has an reasonable approximation of a well-functioning court system. That the police say something is illegal isn't enough to get you thrown in jail.
It is under Tony Blair's Anti-Terror Laws. You only need to be suspected of something that could be vaguely related to terrorism to be locked up. No jury trial involved, just the police, some politicians and a few judges.