This kind of out-of-the-box military adventurism can't possibly turn out well for the Chinese in their relations with India or Japan, let alone the PI. Viet Nam and the PI do represent entirely different military situations for the Chinese; in the first, blue-water naval capability is irrelevant, in the second, a necessity.
The only way this even makes any sense at all in military terms is as a cover for staging a conquest of Taiwan.