According to whose international law? The distinction is at the heart of the issue depending which country you ask.
As far as I know, no country makes a distinction between China and the state that runs it. There is a handful of countries in the world that consider the ROC (i.e., Taiwan) to be the true government of China - countries such as the Vatican City and the Marshall Islands. As I understand it, the Vatican still recognizes the ROC because that's a negotiating chip it can play in its dispute with the PRC over how bishops are named in China.