The government could have easily just kept increasing the tax on petrol much like they did with cigarettes but would cause massive inflation in other areas of the economy. The ban approach produces the same result without the inflation. People will naturally move over to EVs due to it being a superior product functionally, and with economies of scale, economically.