A lawsuit against a special commission created by the state Legislature in New York last year to investigate complaints of misconduct filed against district attorneys and their assistants had its day in court Wednesday, with the panel’s constitutionality on the table.

But attorneys for Assembly Speaker Carl Heastie, D-Bronx, a target of the lawsuit, argued in court that the law wasn’t eligible for a constitutional challenge from the state’s prosecutors.