Originally Posted by
moondog
In theory (though often not in practice), you are required to go through customs at your final destination. This is not possible at SHA because your domestic flight arrived at the domestic terminal.
I could go to T1 and say "Hi" to customs there.

Actually I thought so already, it might be similar like in Turkey, where you have customs airports and non-customs airports. But then again, there is also no way for customs to check luggage for domestic or international arrival if they want to do spot checks on the domestic side, like they do in EU with the green strip and non-green strip luggage tags.
So in theory to add to your theory, the CPH-CTU-PVG should be possible to check through, since PVG has customs.