Given their relatively contribution to the total global production and OPEC's supply management to control prices, it is unclear if a halt in Norwegian oil sales would raise prices significantly enough to matter. There is an argument to be made that is is better for Norway to capture those profit and invest them into the research we need to reduce oil dependence and sequester CO2.
I don't think that the electric car adoption is purely driven by environmentalism. Norway has extremely cheap energy that makes electric cars much more economically attractive.