When the formal name of the court is used, it is capitalized.
...tried in the Superior Court...
...sent to the Court of Appeal...
The partial or informal name of the court is not capped.
...sent to trial court...
...heard in appellate court...
...testified in court this afternoon...
Happy punctuating!
Margie