Here is the Holy Office response on the validity of Protestant-Methodist baptisms in Central Oceania from 1872:

*Note, densum should be derisum.
Translation:
In certain places some of them (heretics) baptize with the proper matter and form applied simultaneously, but expressly warn the baptized they should not think the Baptism to have any effect on the soul; for they say that it is merely the external sign of uniting to their sect. So they often turn and laughed at Catholics about their belief in the effects of baptism, which they even call superstition. It is asked:
1. Whether the Baptism administered by those heretics is doubtful because of the defect of intention to do what Christ willed, if an express declaration has been made by the minister before he baptised that baptism had no effect on the soul?
2. Whether the Baptism so conferred is doubtful if the aforesaid declaration was not expressly made immediately before the conferring of Baptism, but had often been proclaimed by the minister, and the same doctrine was openly preached in that sect?
Reply to the first question: In the negative, because in spite of the error in regard to the effects of baptism, the intention of doing what the Church does is not excluded.
To the second question: The answer has been provided in the first.