Acted in bad faith, court rules. Eskom wants to appeal.