How can the use of Artificial Intelligence in legal drafting affect justice delivery?

The Supreme Court has raised concerns about AI drafting legal petitions. I want to analyze the possible risks and benefits of using AI in the justice system.