If it is a routine case, then they should already be well versed in previous rulings they would need to do research for.
If it is abnormal then the research done could be extremely helpful to find past rulings that you might use to support your position and your opponent's position.
I could also see how it could help create the logic of getting to the necessary conclusion the court should come to.
A human should absolutely be writing all the documentation though, in my opinion.
To important to leave to a possible hullicination.
That said, this does completely ignore the privacy issue.
Which again, if normal wouldn't be anything huge and would just blend in but if abnormal, well, let's pray they are judicious I'm their usage.