a leagal system includes a court