Yes, your understanding is correct. However, to make the non-restrictive element clearer, I would set of the phrase with commas: The new cars, which were made in China, have all been sold.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.