"(3)Subject as follows, the court shall, on such an application, make such order as it thinks fit for restoring the position to what it would have been if the company had not given that preference." . . . .