+likely difference in the cost of manufacturing/assembling locally vs. Importing (if at all possible) with duties slapped on top.
Labor is a tiny part of modern car assembly. Robots and machines are used everywhere. Avoiding/reducing currency risk is a major motivator - you want production costs to be in same currency as sales.
In the case of the BMW X5s, all of the ones going through the port are destined for Europe, South America, and Asia.