While diplomatic relations with a landlocked , impoverished country engulfed in civil war might seem a small prize , Taiwan and mainland China have a history of acrimonious disputes over ties to even the smallest nations .