This isn't just the arrest of a developer expressing his freedom. Its the arrest of a developer who was knowingly part of a group of people who had the intention of deploying code (via smart contracts). The deployment of the code facilitated activities that were claimed to be illegal.
The issue isn't owning or writing viruses or malicious code, the issue is distribution and deployment of such code.