The lesson? Never plead guilty to ANYTHING. Make them prosecute you, wasting their time and money.
And never, ever talk to any “mental health professional”, even at a cocktail party!