Sure, if you are talking about an older car, any relatively new car especially EVs you will find that this is not the case. I happen to own an i3 and to change the battery to a new one or a bigger battery, you have to code the car with a 10000€ tool from bmw, that's more than what you would pay for a used 94ah battery. parts that need to be programmed the same stupid fucking way an iphone fingerprint reader has to be programmed to work will happen to the automotive industry also, I can guarantee that. Unless some laws are passed against it.