On failure of any county, through its governing body, to make provision in any manner as required by this chapter or other law for the payment of the expenses and obligations imposed thereby for its proportionate share of the establishment or maintenance of a district welfare-house, the board of chosen freeholders of any county composing the district may bring an action in the Superior Court, against the defaulting or delinquent board of chosen freeholders or any delinquent official thereof, or both, for a mandatory order or judgment directing the performance of the actions necessary to accomplish the requisite lawful action and compel the carrying out of its obligations as a county in the proper proportion as to expense and payment as provided in this chapter or any other law. The court may proceed in the action in a summary manner or otherwise. Nothing contained in this section, however, shall be construed to interfere with or restrict any proceeding in lieu of prerogative writ instituted for the purpose, or to review the legality of the order or judgment.
N.J.S. § 44:1-55