trouble is, when they're little, and especially when with someone else, they just don't think these things through. i got in quite serious trouble at primary school for things that just didn't seem bad to me - eg, 2 examples :
there was a craze for tiny "babies' bottles" with tiny sweets in and when they'd been eaten we filled them with water and squirted them - which was then banned. i subsequently filled one with water with the honest intention of drinking out of it...you can guess the rest!
and, during the annual roller skating craze (does anyone else remember these cycles? hula hoops - marbles - jacks - roller skates - skipping - handstands/backbends/cartwheels etc...?) one year it had been quite wet and we were told not to go on the grass in them. but at the very edge of the grass was a strip of mud about 2 feet wide and i thought it was ok to go on that...you can guess the rest of that too! i was about 8 or 9 when these 2 happened (i wonder if this is where my son gets his lunatic attitude to rules from???)
what i'm saying is that kids' minds don't always operate in the way an adult's would...what was the hiding behind the dustbins about? did he actually have a reason?
anyway, knowing he would be grounded didn't stop him doing it - he probably forgot - like they forget really basic stuff like washing hands after using the loo, or in the case of 2 of mine, on a regular basis, even flushing it!!! so, despite your husband's perfectly understandable feelings of disappointment in him, i'm not sure punishing him at home will stop him doing silly things like this again.
my silly son used to drive his friends nuts, too, when he was younger and used to get left out of things because of it - and even THAT didn't stop him!!! i mean if peer pressure doesn't work, nothing will! but the same boys are now his best friends (and think he's hilarious - ohhhh noooo!)