Court of Appeal overturns non-party costs order due to a “failure to warn”