That’s a massive reading comprehension fail on your part. The context of a statement is critical in understanding it’s meaning.
It’s obvious both from the statement and the preceding ones that what’s being argued is the legality of specific actions. Quoting a tiny fragment of text and reacting in isolation to those words is reacting at imaginary ideas disconnected from what was actually said.
Also, the idea of a law preventing some type of action is a rather silly premise, people constantly break laws. Laws moderate behavior so they at best prevent specific incidents instead of totally eliminating specific behaviors.