Chinese Passport
I believe your friend will be in trouble when exiting China since he could NOT prove that he was legally admitted into China using EU passport. At that time, if and when your friend shows his Chinese passport as well as the EU passport, his Chinese passport will be confiscated for sure.
It is NOT wise to play this kind of the game in my opinion.