Appliances do not last forever. The internet is telling me that a typical gas stove lasts about 15 years, and a gas furnace in the 15-30 range.
I'd expect that at some point in the next decade they will extend the ban to cover replacement appliances so as existing gas stoves and furnaces die they will be replaced with electric.