A 35-year-old man being searched and detained outside court