Hey Bram,
Interesting edge case! I could sit here and explain a few other things which could help (caching more data, evaluating if your build is optimised) but, let’s get down to it.
The rule that you’ll need is as follows:
/:lang/:cars/:brand/:model/:id /:lang/:cars/fallback?id=:id 301
Let me know if this works for you!