Beijing’s plans for Hong Kong could end city’s opposition