Operational needs
Virescit Vulnere Virtus
It's happened to me three times within the same week. Each time I was in a residential area, it came out of nowhere, and I wasn't going to make it to a restroom in time. The first time, was a very degrading experience. By the second time, I wasn't phased by it anymore. What is one going to do? themselves? Sometimes we get caught unawares without enough time to make it a john. Not proud of it, but I'm not going to feel ashamed for it either. I put those bags in three more bags before tossing them in a dumpster.
At least you disposed of them in a dumpster and didn't just chuck them out the window like the OP.