It has been heretofore held, in proceedings to enforce specific performance of a contract for the purchase of real estate, that a purchaser will not be required to accept any title which is doubtful, or which, even if apparently good, may possibly be defeated by facts and circumstances the existence of which cannot be accurately determined. Jeffries v. Jeffries, 117 Mass. 184. It was therefore decided in Noyes v. Johnson, 139 Mass. 436, that a person was not bound to accept a title by adverse possession, depending upon a long and difficult investigation of facts.
A title however, cannot be considered doubtful when there can be no question of fact involved in a decision as to its validity, but one of law only, upon which the court where the controversy is litigated is competent finally to pass.
It is unnecessary to consider the question whether, when only the vendor and.vendee are before the court, and there are other persons interested in the title, or who may be thus interested, who will not be bound by the decree, it is the duty of the court to determine, as between the parties before the court, whether or not the title is good, and to enforce or refuse to enforce specific performance accordingly. The later cases in England have indicated a disposition to change what has heretofore been recognized as the rule, whether wisely or not may be doubted, and to hold that, even as between vendor and purchaser in such case, as a general and almost universal rule, the court is bound “ to ascertain and determine, as it best may, what the law is, and to take that to be the law which it has so ascertained and determined.” Alexander v. Mills, L. R. 6 Ch. 124. Osborne v. Rowlett, 13 Ch. D. 774. Forster v. Abraham, L. R. 17 Eq. 351.
*68It has always been held that, where all parties are before the court, so that a decision will have the force and effect of an adjudication in a direct proceeding for the purpose, and thus be an end of controversy on the subject, the validity of a title which depends upon a principle of law is to be finally decided. It is then to be determined to be either good or bad, and thus that the purchaser is either bound to take it, or may refuse it. As by that decision all parties will be concluded, such a title cannot be doubtful. Fry on Spec. Perf. (3d Am. ed.) § 862. Sohier v. Williams, 1 Curtis C. C. 479. Butts v. Andrews, 136 Mass. 221. Cornell v. Andrews, 8 Stew. (N. J.) 7; 9 Stew. 321. Gill v. Wells, 59 Md. 492. People v. Stock Brokers Building Co. 92 N. Y. 98.
In the case at bar, the heir at law having been brought into court by the amendment of the bill, all parties in interest are before us, and we therefore proceed to pass upon the question of title.
The difficulty in regard to it arises from the execution and delivery of the deed of trust by the testator after the making of his will. This deed conveyed his real estate, including the'lot of land here in question, to three trustees, to have and to hold to them “ and their heirs and assigns forever, in trust nevertheless for the said Perry, with full power and authority to said trustees to manage said real estate as they may deem best, to lease, let, to sell and convey the same, or any part thereof, at public or private sale, and to execute and deliver a deed or deeds of the same.”
After the execution of this deed, the testator made a codicil bestowing an additional legacy, and in all other respects confirming his will, so that he cannot have intended that the deed should operate as a revocation thereof. The trustees under this deed, upon the decease of Perry, deeming that the trust created thereby \yas terminated by the death of the testator, conveyed the real estate to the executors of his will, “their heirs, successors, and assigns, for their use and behoof forever.” The plaintiffs, as executors, having made a contract with Cummings for the sale of the parcel of land named in the bill of complaint, have tendered to him a deed in the ordinary form, “by virtue of the power conferred upon us by said will, and of *69every other power us thereto enabling,” which Cummings has refused to accept.
He contends that it is impossible to determine, from the words in the deed creating the trust, the extent of the estate vested in the trustees, or of that vested in the cestui que trust, the testator, and he suggests only two possible constructions of this instrument: that it may be construed to vest the legal fee of the testator’s real estate in the trustees, and the equitable fee thereof in' the testator; or to vest only an equitable life estate in the testator, and therefore only a legal estate for the life of the testator in his trustees, which would terminate by his death, so that the entire legal and equitable estates would thereupon vest in the heir at law.
Assuming the former of these constructions to be correct, the argument concedes that the grantor had the right and power at any time to terminate the trust by demanding and receiving from the trustees a reconveyance to himself of the legal title; that, although the trustees had the legal fee vested in them, the whole beneficial interest and equitable title were in the cestui que trust, who might dispose by deed or will of the equitable fee as he saw fit. Pub. Sts. c. 127, §§ 1, 24. Loring v. Eliot, 16 Gray, 568. Smith v. Harrington, 4 Allen, 566, 569. As the testator died without having in his lifetime put an end to the trust created by the trust deed, Cummings further contends that there was a resulting trust of the equitable fee of his real estate to his heir at law, and that the trustees, holding then only a dry trust title, were bound to convey to him. Easterbrooks v. Tillinghast, 5 Gray, 17, 21. Packard v. Marshall, 138 Mass. 301. Admitting this to be the law where there has been no disposition of the estate by devise, it is equally the duty of the trustees to convey to the devisees where there has been such disposition; and the will must, by necessary implication, be construed as constituting a devise to the executors. If they had received no more than a naked power to sell the real estate, this would not be inconsistent with its descent to the heir. There "may be a charge of this nature on the real property in favor of the executor, without implying any estate in him therein. But the will contemplates complete control over the real estate by the executors. They are to have full charge of it, to lease the same *70and collect the rents, and, as soon as convenient and profitable, to sell and convey the same to any purchaser or purchasers, at public or private sale, without any order of court or license; »“ or they may turn over and convey any part or parts of the same in discharge of any devises or bequests herein,” &c., “ all as in their judgment may appear best.” The duties imposed upon the executors could not be discharged, unless the reversion in the real estate is treated as devised to them; and, by necessary implication, the title thereto passes to them. Walker v. Whiting, 23 Pick. 313, 317. Greenough, v. Welles, 10 Cush. 571, 577. Cleveland v. Hallett, 6 Cush. 403, 407. It was therefore the duty of the trustees to convey in fee to the executors the real estate held by them, their trust having been completed; and, by the execution of the power vested in the executors byfPerry’s will, they could make a good title to Cummings.
If it be held that the trust deed vested aii equitable life estate in Perry, the same result follows. There was then a resulting trust in his favor in the reversion. McElroy v. McElroy, 113 Mass. 509. This reversion, although to take effect only upon his own death, was still an estate vested in him during life, and disposable by will or deed. It passed therefore by the devise to his executors. If it be said, as Cummings does say, that, upon this construction, the trustees took only a legal fee for the life of the testator, and that their estate would terminate by his death, so that the entire legal and equitable interests would, by operation of law, thereupon vest in the heir, this has been prevented by the devise made. Even if the conveyance made by the trustees to the executors was ineffectual, by reason of having no estate to operate upon, it would be superfluous only, and in no way affect their title by virtue of the devise.
Cummings further suggests that the vagueness and obscurity of the terms of the deed of trust give rise to doubt and suspicion as to the purposes and objects for which the trust was created, and as to whether those purposes and objects have been fully attained; and that ulterior purposes and objects for which the trust was created may still exist. But when nothing is shown as to any other trust than that which appears on the face of the deed, when the instruments in writing which affect this estate are before us for construction, when all parties who can *71be known to be possibly affected by the decree appear, we cannot refuse to determine the validity of the title because of imaginary doubts whether there was not, under the deed, the possibility of some ulterior undisclosed trust.
Decree for the plaintiffs.