It's hard to imagine that someone falsely offering a plea of 'guilty' would not be subjected to any more examination than to confirm their identity, their plea and perhaps a written Witness Statement; it is usual for the prosecution to have SOME work to do!
Yes, I was taking a very literal meaning for 'plead guilty'.
I had thought that the original question was meant to be that narrow, but I agree that does seem impractical.