the legal process can occurs in court