My point is just that in this situation, the point of the law is to disambiguate where your personal liberties as someone who might feel positive towards China end, and your collective responsibility towards your country begin.
Feeling friendly to China isn’t illegal or immoral. Helping China in a way that your government forbids, be it for national security or otherwise, is illegal and probably immoral.
If Chen did not break the law, then he did not betray the moral guidelines outlined through law. Unless you want to claim that the spirit of the law was that he should disclose more than legally required to disclose.
Claiming anything more than this just sounds like virtue signaling.