High Court rules on electricity supply dispute