Not if the city of Ghent has effected a bylaw for this specific practice. When you're part of "the state", you can do that.
It's against the law to clamp a motor vehicle you don't own, yet the council can still come along and clamp you if you don't buy a ticket in their car parks. Punishments aren't typically illegal if you violated the rules effecting that punishment. After all, it's illegal to murder people, yet the majority of US states have provisions for execution as a form of punishment.
Part of it's brilliance is how easily defensible it is.
1. Person A puts up a lot of posters in an obviously illegal area where other posters are quickly "cancelled".
2. "Completely unrelated" person B waits for the person adding the "cancelled" stickers, notifies the police about suspected behaviour. For more fun mentions "strange equipement" and "patroling the area for a long time". Bonus points for doing that near/on a government building.
Making it risky for other people to put the "cancelled" stickers would force the city to either stop this, or make it legal and well known.
Edit: I assumed it was US - not sure how easy it is to scare police in Belgium with suspected "terrorism".