EU backs ASEAN, China in reaching South China Sea code, upgrades ties with Philippines