When you have nowhere else to shit but on a stick.
In mission Impossible when he was lowering himself down over the touchsensitivefloor if he needed a shit he would have brought a stick to shit on. eg
"Hey Ethan, what's up?"
"I need to shit badly!"
"Why don't you shit on a stick?"