the legal process occurs in court