I think that the engine option plays a rather minor role when it comes to discounts.
The manufacturer has corresponding promotions for its models to boost sales.
You are right that there are different promotions and thus different percentages depending on the country.
The respective dealers usually take advantage of these promotions.
Additionally, the dealer may offer further discounts, which they deduct from their margin. Or the delivery costs, which vary depending on the dealer, are calculated in such a way that they can "sponsor" extras like a tank of fuel, floor mats, etc.
A dealer might also offer more discounts if they want to achieve very good customer satisfaction and recommendations to increase their customer base. Satisfied customers come back.
Here, for example, workshop/service visits are important.
Certainly, much more could be written about this.
Reimports are definitely a completely different matter.