But rest assured that it's gramatically correct

Oh, I wasn't questioning that. I even agree with the sentiment! I think the problem was that everyone first reads the three consecutive words "making illegal acts" as "committing illegal acts" not "making acts illegal", and only realises much later on that it was ambiguous and thus needs to be reparsed.

Peter