I wonder if ChatGPT can be cross examined at trial?

Prosecutor: Did the defendant do it?

ChatGPT: Yes! -fire emoji-

Defense attorney: I don't think the defendant did it, he said he was elsewhere.

ChatGPT: You're right! The defendant is innocent!