The New York City Council has sued the city’s law department for the right to file amicus briefs in court cases—including cases in which plaintiffs…