However, illegal does equate with against the law. And if you are going to commit a crime, you can't complain about being punished for breaking that law.
(,
Fri 31 Jul 2009, 14:56,
archived)
You can in fact complain about it. Say your crime is producing modern art in nazi Germany, and you get put in prison for it, complaining is entirely reasonable. I guess you mean you're silly not to expect to be punished, rather than that you shouldn't complain about being punished.
(,
Fri 31 Jul 2009, 15:07,
archived)