The leader of Scottish Labour is diverging from his party in Westminster when it comes to fossil fuels.