That was a pretty stupid thing for China to do.