If an oil producer electrifies faster than average, for example Norway, then oil that might have been consumed domestically instead is shipped overseas.
In theory the small amount of additional available oil due to domestic electrification might become available for export, but I expect that the global drop in demand due to worldwide electrification will make that unlikely: they'll just slow down production to avoid flooding the market and crashing the oil price.