A legal challenge to the decision to scrap universal winter fuel payments for pensioners has heard that the Scottish Government’s decision was a “direct consequence” of UK Government counterparts.