When the system becomes so corrupt that people who would be hurt by whistleblowers can control legislation, the test of "legality" doesn't hold as much meaning anymore.
When you make reporting an illegal activity illegal, you have made that activity legal.