Treasury Wine Estates can’t claim its legal costs in defending against two stayed shareholder class actions because the terms of a settlement in a third class action barred the company from recovering anything from group members in related cases, a court has heard.