There was actually less than any court involved there, any rogue policeman could do that, somehow it's not even a censorship problem but a more general procedural problem that happened to involve censorship. The poor guy didn't know that you should always call a lawyer and not listen to the police when you're detained (they tell people calling a lawyer will result in longer detainment).