Whether the validity of a sacrament requires a good intention in the minister?

Objections

Objection 1 : It seems that the validity of a sacrament requires a good intention in the minister. For the minister's intention should be in conformity with the Church's intention, as explained above (Article [8], ad 1). But the intention of the Church is always good. Therefore the validity of a sacrament requires of necessity a good intention in the minister.
Objection 2 : Further, a perverse intention seems worse than a playful one. But a playful intention destroys a sacrament: for instance, if someone were to baptize anybody not seriously but in fun. Much more, therefore, does a perverse intention destroy a sacrament: for instance, if somebody were to baptize a man in order to kill him afterwards.
Objection 3 : Further, a perverse intention vitiates the whole work, according to Lk. 11:34: "If thy eye be evil, thy" whole "body will be darksome." But the sacraments of Christ cannot be contaminated by evil men; as Augustine says against Petilian (Cont. Litt. Petil ii). Therefore it seems that, if the minister's intention is perverse, the sacrament is invalid.