Unfortunately, your story about the Danes is just another tragic example of the AI's inability to think & plan long-term. It is unable to look past the immediate consequences of its actions.