China offers a 72h visa free transit in many of its major cities, including Shanghai, when traveling from country A to B via China (to citizens of selected nations). (I.e. US -> Shanghai -> Tokyo is ok, but not US -> Shanghai -> US)
My question is, how about the following itinerary? (E.g. flying with emirates):
- Italy -> Dubai -> Shanghai -> Dubai -> France
While A and B are different, I'm twice transiting in Dubai and they might just look at the last airport.
And bonus question: Italy -> Shanghai -> France (i.e. without layovers) should be OK or is EU somehow considered one country?