Former paralegal Peggy Soukup and famed Irish dancer Michael Flatley don’t know each other, but they share one thing in common: Both won cases Thursday clarifying the state’s complex anti-SLAPP law.

By a unanimous vote in two rulings involving three cases, the California Supreme Court ruled that anti-SLAPP motions and their counterparts, SLAPP-back suits, can’t be used by defendants to protect speech or activities that are illegal as a matter of law.