“The court ignored the fact that there was no evidence, statutory, regulatory or otherwise, that mandated HHC to utilize any particular methodology in making its staffing decision,” the higher-court judges found.

“And neither the petitioners nor the courts should be permitted to substitute their judgment for the discretionary management of public business by public officials.”

The challenging lawsuit was filed by Queens City Council members Daniel Dromm, Julissa Ferreras and Karen Koslowitz, along with municipal unions.

Top city officials have been complaining for months that their ability to run the government was being hampered by court interference.