Beijing is agile enough to swerve US protectionism