Every consular officer of the United States is required, whenever application is made to him therefor, within the limits of his consulate, to administer to or take from any person any oath, affirmation, affidavit, or deposition, and to perform any other notarial act which any notary public is required or authorized by law to do within the United States; and for every such notarial act performed he shall charge in each instance the appropriate fee prescribed by the President under section
4219 of this title.