A law firm has lost its bid to appoint a costs referee after reaching a $5.8 million class action settlement with the On The Run convenience store chain, saying it was “hurtful” for a judge to suggest the firm wanted to “maximise its position” over group members.