The imperial family has long-established relationships with the royal families of the two European countries.