An energy retailer is deciding whether to appeal a record court-imposed penalty in a case brought by the regulator for overcharging customers on welfare.