Just being stupid, eh?
Well, why didn’t you say so, Being stupid isn’t a crime. No bail and off you go!
A public hanging would mot cure his stupidity but it might cure a lot of other people’s potential for: “just being stupid.”