Lithium batteries

Car batteries made with lithium based cells are prone to flipping polarity, if discharged too far. Usually they swell and break open before they catch fire. Charging a battery, with cells that has reversed, does very bad things.
I believe it is law that, some type of warning or shutdown be included.