Poland warns of unplanned military actions