> It is suspected (although nobody confirmed ) that to fully comply with CARBs requirements BMW needed to make sure that the car’s gasoline range is lower than it’s range when it’s powered by electricity alone. To accomplish that they lowered tank’s capacity (from 2.4 US gal to 1.9 US gal). We, software engineers, hate when accountants win.
In software, the trick is it is licensed not sold, so you are not allowed even if you can do something.
But a car is sold. So if you want to cut of a piece of the car, what's going to stop you?
Government regulations. In Germany (and probably also in the rest of the EU, since that stuff has been harmonized over the last decade), the tank volume is recorded in field #12 of the car's registration/title document... which means any form of DIY modification without changing the title will yield you a criminal charge for operating a car that is not roadworthy.
Edit additionally, ordinary police also has these rights, and there are, at least in Germany, focused checkpoint controls that specialize in checking for illegal / untitled modifications ("Schwerpunktkontrolle"). And in case of a severe accident where an auditor combs over your vehicle to determine fault, something like this will pop up and be sanctioned, even if it had no relationship to the accident at all.
In any case I would not go and risk jail time, a massive fine, or in worst case forfeit of the illegally modified vehicle.
> (W) fuel tank(s) capacity (in litres).
https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CEL...