If you put agents (AI or human) in impossible situations, they do some pretty insane things - things that definitely are not what you were trying to get them to do. And that's your[1] fault for putting them in the impossible situation.
[1] "Your" meaning the one putting them in the impossible situation, not you, the reader.