China: Will defend rights if the US imposes restrictions