What challenges and ethical issues arise when using artificial intelligence for legal drafting in Indian courts?

The Supreme Court expressed concern about AI being used to draft petitions. I want to analyze what specific risks and ethical dilemmas this might pose for the Indian legal system.