China has condemned the decision to let Taiwan attend this year’s Pacific Islands Forum and warned there would be consequences.