All the toilets in Paris self-clean between users. You don't need the sensor to work not to get sprayed, just to exit the toilet when a voice says "EXIT THE TOILET NOW, THE SELF CLEANING PROCESS IS ABOUT TO BEGIN.
I used one of these and the self clean cycle started without warning while I was washing my hands. I couldn’t have been in there more than 4-5 minutes. Luckily the door didn’t lock so I was able to escape before getting “cleaned”.
Even self flushing toilets are often broken. A certain building I worked at I had to jump off quickly and out of the way so it didn't spray up with a trigger happy mega flush.