It's a bit ironic that Norway is able to buy all those electric cars because of all that oil money they make. Production of electric cars still costs more than that of fossil fuel cars.
Norway has a fiscal deficit every year, in order to cover the deficit we're allowed to spend a couple percent of our holdings in the Oil Fund to. To my understanding, this is done by selling assets on a monthly basis in exchange for Norwegian currency by Norges Bank. [0]
One could argue that the government would not be able to offer subsidies on EVs without that option.