Even ethnic Chinese from Taiwan have been known to spy for Communist China (like the Chinese American who stole the plans for the latest U.S. nuclear warheads at Lawrence Livermore and is now teaching at a university in China).
The Chinese have a strong group identity and their nationality doesn't matter a great deal to them. In their mind they're Chinese, no matter where they live.