Beijing law targets critics overseas