Before the ruling, about 2,000 lawyers protested against Beijing stepping in and interpreting the city’s mini-constitution in the middle of the lawsuit, which they said interfered with judicial independence.