Facts

By application of 12 June 2017 addressed to the Public Law Division of the Cantonal Court of the Republic and Canton of Neuchâtel (hereinafter: the Cantonal Court), two companies registered in the Neuchâtel commercial register, [X. SA] and [Y. SA] in liquidation, acting through their administrator, claimed compensation for damage and moral harm from the Republic and Canton of Neuchâtel. They attached to their application a request for legal aid.

By decision of 27 September 2017 (CDP.2017.161-RESP), the Cantonal Court dismissed the request for legal aid. It recalled that legal aid may be granted to a legal entity only if its sole asset is in dispute and the natural persons who are its economic beneficiaries are without means. It considered that appellants 1 and 2 did not meet these exceptions and that appellant 3 did not act in his own name in the main proceedings.

By submission of 6 November 2017 entitled appeal in criminal matters, alternatively appeal in public law matters, the two companies and the administrator ask the Federal Supreme Court to annul or reform the cantonal decision and to grant them legal aid for the cantonal proceedings; alternatively, they request that the case be remitted to the previous authority. The Cantonal Court concludes that the appeal should be dismissed. The Republic and Canton of Neuchâtel waives submitting observations.

The appellants also invoke a failure to recuse the President of the Public Law Division who ruled on the request for legal aid.

Considerations

As to the procedural route, the appellants proceeded by way of an appeal in criminal matters. However, the route open against an interlocutory decision causing irreparable harm depends on the main proceedings (art. 93 FSCA). Decisions in matters of state liability fall under public law (art. 82 let. a FSCA), and the contested judgment does not fall within any exception of art. 83 FSCA. The appeal in public law matters is therefore available. The erroneous designation does not prejudice the appellants, since their submission meets the requirements of the applicable route of appeal. The question of the appellants' standing to appeal, in particular that of appellant 3 and of appellant 2 represented by two administrators registered in the commercial register, may be left open given the outcome of the dispute.

As to the facts, the Federal Supreme Court in principle rules on the basis of the findings of the previous authority (art. 105 para. 1 FSCA). A complaint of arbitrary establishment of facts (art. 97 para. 1 and 106 para. 2 FSCA) must be substantiated in detail. The appellants merely present their own version of the facts, often relating to the merits rather than to legal aid; they do not show that the facts found would be manifestly inaccurate. The Federal Supreme Court therefore examines only the application of the law on the basis of the facts found.

The recusal complaint is dismissed. It rests on facts not established by the Cantonal Court, and no denial of justice is alleged as to any possible recusal request left unaddressed. The name of the judge concerned does not appear in the application on the merits.

As to the substance of legal aid, the appellants do not validly challenge the cantonal reasoning. Concerning appellant 3, the Federal Supreme Court considers fully tenable the assessment that the compensation…