Facts
The Public Prosecutor's Office Division 2 Emmen conducted criminal proceedings against [A.] for simple bodily injury as well as breach of the duty of care and upbringing towards her sons. At the request of the Public Prosecutor's Office, the Compulsory Measures Court of the Canton of Lucerne ordered on 1 September 2016 a prohibition of contact with the son until 31 October 2016.
The Cantonal Court of Lucerne dismissed the appeal lodged against this by decision of 19 October 2016, insofar as it was admissible, and confirmed the order on the merits. It also confirmed the first-instance costs ruling, imposed costs of CHF 800.-- on [A.] and set the fee of the appointed defence counsel at CHF 1'800.-- (including expenses). Of this, it allocated CHF 1'652.40 to the charge of the Cantonal Court, but subjected [A.] to a reservation of repayment should her financial circumstances improve; the remaining amount of CHF 291.60 she was to pay directly to the defence counsel.
By criminal appeal dated 24 November 2016, [A.] requested the annulment of the cantonal court's decision (request 1), a finding that the contact prohibition was unlawful (request 2), the imposition of all procedural costs on the State (request 3), and the remittal to the Cantonal Court regarding the lawyer's fee (request 4). She further applied for legal aid and appointment of counsel. The Public Prosecutor's Office, respectively the Attorney General's Office, and the Cantonal Court requested dismissal, insofar as the appeal was admissible.
The main points in dispute are the appellant's standing after expiry of the contact prohibition and the appealability of the costs decision, as well as the complaint of a manifestly incorrect finding of facts concerning the lawyer's knowledge of the files.
Considerations
Against a decision on substitute measures for pre-trial detention under criminal procedure, the criminal appeal under Art. 78 ff. FSCA is available; such decisions are considered independently appealable. Disputes concerning costs and fees generally follow the fate of the main question. Under Art. 80 para. 1 FSCA, the appeal is only admissible against decisions of the final cantonal instances and of the Federal Criminal Court; insofar as the lawyer wished to assert her own interests, she would have had to do so in her own name before the Federal Criminal Court pursuant to Art. 135 para. 3 lit. b CrimPC.
The contact prohibition expired on 31 October 2016. When the appeal was lodged on 24 November 2016, the appellant no longer had a current, legally protected interest in the main matter, which is why she lacks standing in that respect (Art. 81 para. 1 lit. b FSCA). An exceptional situation was neither substantiated nor present.
Affected persons may indeed challenge a costs decision even where they lack standing on the main matter, since they are personally and directly affected. However, they may only complain that the allocation of costs violates constitutional or federal law for a reason other than mere losing of the case. The costs decision must not serve to indirectly obtain a review of the main matter (BGE 117 Ia 251; BGE 109 Ia 90; BGE 100 Ia 298).
The complaint that the contact prohibition violates federal law indirectly targets the main matter. The request for a declaratory finding (request 2) and the request to impose the costs on the State (request 3) are therefore inadmissible.…