Thousands of demonstrators take to the streets as High Court hears challenge to ban on donning masks during protests.