Germany and Sweden have backed Denmark against US President Donald Trump’s recent claims over the self-governing territory.