Usage patterns
〈人〉が裁判所に訴えるfor someone to file a lawsuit with the court
He sued the company in court.
裁判所が判決を下すfor the court to hand down a ruling
The court found the defendant guilty.
〈人〉が裁判所に出頭するfor someone to appear in court
She appeared in court as a witness.
裁判所で裁判が行われるfor a trial to be held at the court
The trial for that case was held at the local court.