There's a huge difference between protesting peacefully, and doing so in a place that's directly going to cause a breach of the peace.
For example, that lad who shouted abuse at Prince Andrew during the Queens funeral procession, he was very quickly silenced and ejected, and quite rightly...