This appeal arose out of an action instituted by Chester R. Golembeske, hereinafter referred to as the plaintiff, against the board of selectmen of the tоwn of New Milford for an order of mandamus to compel the defendants to provide a location within the town for the disposal of sanitary wastes or to make рrovision for the disposal of such wastes outside the town and to pay all permit fees and service charges incurred thereby. The action was brought to obtain еnforcement of the provisions of General Statutes § 19-524n, which requires each municipality to “make provisions for the safe and sanitary disposal of all solid wastеs generated within its boundaries .... Such disposal may be in areas within its own boundaries or arrangements may be made for the disposing of these wastes in any other municipality.” Prom the judgment in favor of the plaintiff granting mandamus the defendants have appealed to this court.
The defendants have attacked (1) the court’s finding of facts and its cоnclusions that the town was not in compliance with General Statutes § 19-524n; (2) the jurisdiction of the Superior Court because of the alleged failure of the plaintiff to exhaust his administrative remedies; (3) the remedy of mandamus, claiming it to be improper; and (4) the propriety of the order compelling the town to provide facilities at рublic expense for private business.
*280
A finding of fact is tested by the evidence printed in the appendices to the briefs.
Brighenti
v.
New Britain Shirt Corporation,
The trial court’s cоnclusions are to be tested by the finding; they must stand unless they are legally or logically inconsistent with the facts found or unless they involve the application of some errоneous rule of law material to the case.
Griffith
v.
Security Ins. Co.,
The defendants assign error in the denial of their motion to erase for want of jurisdiсtion, grounding their claim on the doctrines of primary jurisdic
*281
tion and exhaustion of administrative remedies. Although the two doctrines of primary jurisdiction and exhaustion of remediеs are not congruent, it is true that neither can operate to oust a litigant from the courts where no adequate remedy may he had by resort to the administrative рrocess. The doctrine of primary jurisdiction is invoked only to determine who will initially decide an issue; 3 Davis, Administrative Law Treatise § 19.01; it cannot operate to divest a court of its ultimate jurisdiction. E.g.,
United States
v.
Philadelphia National Bank,
The doctrine of exhaustion of remedies concerns the jurisdiction of a court to hear an appeal from a decision of an administrativе body. 3 Davis, op. cit. § 20.01. This is not applicable to the present case because no decision was issued by, sought for or available from the department of еnvironmental protection, and hence no question of appealability arises. It should be noted, however, that courts will not require the exhaustion of administrative remedies where no such adequate remedies exist.
Bianco
v.
Darien,
We next consider the claim that mandamus was not the proper remedy in this case. It has long been recognized that the writ of mandamus is an extraordinary remedy.
Marbury
v.
Madison,
It has been said thаt mandamus will lie only to enforce ministerial, but not discretionary, duties.
State ex rel. Scala
v.
Airport Commission,
supra, 176;
Hannifan
v.
Sachs,
Finally, we come to the defendants’ assertion that thе second alternative ordered by the mandamus — that the town pay the necessary fees should it decide not to provide the plaintiff a place to dispose of the solid wastes within the town’s boundaries — should be barred on the ground that it constitutes an unauthorized public subsidy of private business which would create added public expense.
Derby
v.
Water Resources Commission,
There is no error.
In this opinion the other judges concurred.
Notes
The Uniform Administrative Procedure Act, General Statutes
H
4-166 — 4-189, has provision for the issuance of emergency regulations if the “agency finds that an imminent peril to the public health, safety, or welfare requires adoption of a regulation upon fewer than twenty days’ notice.” § 4-168 (b). This provision is not appliсable to the present case because the peril is not publie but
*282
private in that the plaintiff would have to bear additional costs or cease business operations in the municipality. Ordinarily, an agency should be required to issue emergency regulations only in case of public necessity in order that its considerations be prudently and thoroughly concentrated upon the public purpose rather than clouded by private exigencies. See
Rommell
v.
Walsh,
