When, namely, He shall come in the majesty of His Father; when none shall any more dare with strife of many words either to defend a lie, or to speak against the truth, when each man's work shall speak, and his mouth be silent, when none shall come forward for another, but each shall fear for himself. For in that judgment the witnesses shall not be flattering men, but Angels speaking the truth, and the Judge is the righteous Lord; whence He closely images the cry of men fearful, and in straits, saying, Lord, Lord. For to call once is not enough for him who is under the necessity of terror.
Bu...t note that He says, in my name, not in My Spirit; for they prophesy in the name of Christ, but with the spirit of the Devil; such are the diviners. But they may be known by this, that the Devil sometimes speaks falsely, the Holy Spirit never. Howbeit it is permitted to the Devil sometimes to speak the truth, that he may commend his lying by this his rare truth. Yet they cast out dæmons in the name of Christ, though they have the spirit of his enemy; or rather, they do not cast them out, but seem only to cast them out, the dæmons acting in concert with them. Also they do mighty works, that is, miracles, not such as are useful and necessary, but useless and fruitless.
Source: Catena Aurea by Aquinas