Beijing’s push to impose tighter legal control over the territory has generated a strong international backlash