The unlikely alliance helping Poland ditch coal