Actually he did set an example. When your options are limited, choose the lesser humiliating one. Not too many teachers teach that lesson in todays classes. Alternatives, wet yourself and make it the joke of the school until you retire.