(3) Any person authorized by the law of any foreign country to take such acknowledgment or proof, when such acknowledgment or proof is accompanied by a certificate to the effect that the person taking the same is duly authorized thereto and that such acknowledgment or proof is in the manner prescribed by the laws of the foreign country or by treaty or international agreement of the United States. The certificate may be made by a diplomatic or consular officer of the United States under the seal of the officer's office, or by a diplomatic or consular officer of the foreign country, resident in the State, under the seal of the officer's office with the signature or facsimile of the signature of the diplomatic or consular officer of the United States. For the purposes of this section diplomatic or consular officer includes any minister, consul, vice-consul, charge d'affaires, consular, or commercial agent, or vice-consular or vice-commercial agent.