Facts

The appellant, [X.] , filed an application for legal aid with the Tax Court of the Cantonal Court of the State of Fribourg (hereinafter: the Cantonal Court). By decisions 604 2016 24 and 604 2016 25 of 15 March 2016, the clerk-rapporteur dismissed this application insofar as it concerned proceedings 604 2016 13 and 604 2016 16.

By judgments 604 2016 42 and 604 2016 43 of 6 June 2016, the Cantonal Court dismissed the appellant's appeal against the decisions refusing legal aid.

By judgments 2C_741/2016 and 2C_742/2016 of 26 January 2017, the Federal Supreme Court partially upheld the appellant's appeal. It annulled paragraph III of the operative part of judgment 604 2016 42 and paragraph IV of the operative part of judgment 604 2016 43, and confirmed the judgments in all other respects. The matter was remitted to the Cantonal Court so that it would rule anew on the appeal directed against the decision refusing legal aid of 15 March 2016.

By judgments 604 2017 20 and 604 2017 21 of 9 March 2017, the Cantonal Court, sitting in a new composition, dismissed the appeal against the decisions of 15 March 2016.

The appellant lodged two separate appeals with the Federal Supreme Court against these judgments of 9 March 2017. He alleged a violation of cantonal procedural law (in particular as to the real nature of an interlocutory decision) as well as a violation of his right to be heard. No exchange of written submissions was ordered. Causes 2C_422/2017 and 2C_423/2017 were joined because they concerned the same facts and the same complaints.

Parties [X.] (appellant), Cantonal Tax Office of the State of Fribourg and Department of Finance of the State of Fribourg (respondents).

Subject matter: legal aid.

Considerations

According to case law, where an authority gives reasons for remitting a case, its legal considerations bind the lower authority as well as the parties: the latter may no longer raise in an appeal against the new decision any grounds already rejected in the remittal judgment, these grounds being inadmissible by reason of res judicata (ATF 133 III 201 consid. 4; 120 V 233 consid. 1a; 117 V 237 consid. 2a; 113 V 159 consid. 1c). By contrast, the new decision of the lower authority may be challenged on the ground that it does not comply with the considerations of the remittal judgment.

In the present case, the complaints raised under numbers 1 to 5 and 7 of the appeal submissions cannot be examined, because the points they target have become res judicata or do not fall within the subject matter of the dispute. The prior authority therefore rightly confined itself to following the instruction of judgments 2C_741/2016 and 2C_742/2016, which consisted solely of ruling anew on the appeal against the decisions refusing legal aid of 15 March 2016.

Th…