It's fairly easy, just have the car software not allow you to drive more than x amount of miles on a charge regardless of how much kWh you have used.
The current software limit is applied by having a percentage limit on the full charge (same mechanism as using the charge limit slider).
In that case, they would be essentially unlocking the extra capacity for free as your battery degrades to maintain the range. Actually, that might be a good strategy to please customers, but it only works for models where there is higher capacity onboard that is software limited. That would be very expensive for tesla.