If it's a user facing feature. And it fails catastrophically if some preconditions aren't met. And it doesn't have the ability to verify those preconditions. Then allowing users to invoke it is probably not user stupidity. It's just poor design.
The same topic is being explored in the 737 MAX clusterfuck where Boeing failed to provide sufficient safeguards OR sufficient training for non-expert users to manage catastrophic failure. People are stupid, yes. But you can't blame people being stupid as an excuse for insufficient safety engineering, just like you can't blame drag force being proportional to the square of the velocity. These are just the constraints we have to engineer around.
The same topic is being explored in the 737 MAX clusterfuck where Boeing failed to provide sufficient safeguards OR sufficient training for non-expert users to manage catastrophic failure. People are stupid, yes. But you can't blame people being stupid as an excuse for insufficient safety engineering, just like you can't blame drag force being proportional to the square of the velocity. These are just the constraints we have to engineer around.