Mohammad Junaid has moved court alleging he was unlawfully detained by police due to his role in the protests.