It made sense during times of oil shortages, in an Irish famine "Don't export food for profit while the local people starve" sense. While oil prices were rising ever higher, there was a perpetual risk that another oil shock could be round the corner. In the current circumstances though this is clearly the right thing to do.