The guilty plea came in a convoluted all-day hearing on the same day that his trial was supposed to begin with jury…