I can't read German, but we have a similar legal system in the Netherlands.
Most likely, these people committed some crime during a previous protest, such as illegally entering private property or vandalism. Often they will get sentences that are conditional.
If there is evidence to believe they are conspiring to commit a similar illegal act, then the conditional part of the sentence gets triggered.