Beijing says it will firmly oppose such deals and would “take countermeasures in a resolute and reciprocal manner”.