The PRC was allowed into the WTO on December 11th, 2001. Under the TRIPS Agreement, computer programs are protected as literary works, and per that same agreement, the general term of protection is 50 years and shorter terms may not be applied. There’s some stuff in there too about the life of the author, but basic no frills copyright: no fewer than 50 years. The first works covered by the GPL are not yet that old.
Yeah, the PRC is basically disregarding that, and yes, the Courts of WTO members are empowered under the TRIPS agreement to provide relief to the copyright holders. Start with Article 42 and work your way up. Chinese law doesn’t even enter into it, and under their political system, is explicitly “rules for thee but not for me” given that the CCP sits above the government and the law.