the danish army was small , ill-prepared and used obsolete equipment but resisted in several parts of the country ; most importantly , the royal guards located at amalienborg palace in copenhagen , and forces in the vicinity of haderslev in south jutland .