Beijing has consistently criticised its neighbour’s action but has stressed the importance of diplomacy