The Just Transition Commission said "the key lesson" on changing from fossil fuels to renewables was "not to do it like it's been done at Grangemouth."