It marks a rare victory for the city’s pro-democracy activists.