it helped denmark during the war against holstein