Ms Justice Caroline Costello said Ms O’Doherty used AI to prepare her written submissions that included 'hallucinations' of non-existent cases