Beijing’s foreign ministry condemned the move, calling it an attempt by “anti-China forces” to infiltrate and sabotage the country.