“China firmly opposes all forms of cyberattack and cracks down on it in accordance with the law”
"In accordance with the law” is the sneaky part that lets them add all kinds of 'Chinese characteristics' to whatever topic is being discussed. Their 'law' is often phrased very broadly and interpreted with lots of freedom and in practice is whatever the CPC wants. This is how they say one thing and do another, always "according to the law".