Expert systems have been in use for quite a while now, at least in the Netherlands, for masters in more clear laws such as tax law. Basically they are used as glorified decision trees because the laws are clear enough.
I am fine with such tooling assisted matters.
I would also be fine with generative AI, with enough tool calls, being used by courts to find commonalities of a certain case in many other cases as a more enhanced search engine with always a judge, lawyer/solicitor, prosecutor, and optional jury, at the helm and being both in control and end responsible.