I have seen situations where the text had to be changed to keep the software legally culpable.
In those cases negligence will lead to prosecution.