Denmark’s policy of listing Taiwanese residents as Chinese on official documents has sparked legal and diplomatic concerns.