One time, I was at dinner with my extended family at a crowded supper club place. Needless to say, I had a brutal bout of SBD (silent but deadly) brand gas brewing within me and leaking out. As we were leaving, I emptied the entire canister right at the head level of a lady from the table behind us. Everyone walking out behind me knew what I had done, and the woman looked as if she was going to beat the sh^t out of someone.
It was a classic moment of fun, so yes, I heatedly endorse crapping your pants in public for other's enjoyment.