Some Chinese manufacturing (or maybe a lot, I don't know) is still based on low wage advantages. Those factories are much easier to repurpose than factories in high wage countries that are optimized like race cars to maximize worker productivity. I wouldn't be surprised if a European car manufacturer would find it challenging to switch an engine factory from diesel to petrol with less than a year run up time.