[QUOTE=Can Handle the Truth]
I believe it refers to a child playing at being a soldier by wearing a tin pot for a helmet. It emphasises the dictator’s inflated view of himself.
[/QUOTE]
Whether this is true or not, I like the image it conjures the best. I think it captures the flavour of the term really well.