The judge's remarks make if clear (at least to me) that she understood something was very wrong here, and she makes a point of criticising the fact that vital evidence was not put to her, due to the guilty plea. However, it was, but she didn't read it.
There is a process for evidence to be presented to the court. That process was not followed.