Answered by Borut | Jul. 15, 2024 00:24
There is no doubt that you have violated TWOV because you have returned to the place where you came from. As you can see, this way not a transit, but a visit to China or in other words, this was a return trip. Transit is only then when you are going from country A, through country B (China in your case) and after country B end your flight plan in country C. You did not do that, but you have done a scheme A - B - A. This is a clear violation of TWOV. Also, if you are a citizen of Thailand or/and Russia, you had a right to stay for 30 days (as Thailand citizen) or 144 hours (6 days) as Russian citizen. In other words, you were able to wait those 4 days completely legally and proceed to your final destination. However, you have accepted the proposal of an airline and in that moment you have clearly violated TWOV rules. In the case if you were Thailand citizen that would not be a violation because Thailand citizens have right to bypass TWOV rules since they have right to stay in China for up to 30 days visa free.
Now, what could arise from the entire situation is definitely unclear, but if your passport was not stamped with some kind of denied entry remark, I would say that you can proceed with your travel plans, but I strongly suggest you to find a flight plan that will have a shorter layover in China, so that you can remain within airside and not to exit the airport. The reason for that is simple. When remaining airside, you are not a subject of immigration and/or customs control, but you will just cross a security check between two flights.