Unfortunately, one cannot say specifically how WhatsApp recognizes users who need to be blocked. Certainly, it is a process that is at least partially automated, whereby software recognizes rule violations and demenstprend user blocking.
Therefore, you also cannot get directions along the way, how to avoid a spell. However, of course, they should definitely avoid illegal group designation – even if it's fun. Also, inform other group members about the danger of a ban.