I see a lot of potential here, could it be that the market is asking for commercial solutions to fix this problem once and for all?
We could use advanced image recognition algorithms to recognize changes in the cleanliness of the bog, spray guns to mark the offender while the door gets automatically locked until the weaponized drones fly into the cubicle to deliver justice in one swift Samurai blow.
Aletrnatively, we could leave a note.