The EU's two leading members were reacting to the US president-elect's plans to acquire Denmark's autonomous territory.