Medical officers of the United States, when performing duties as quarantine officers at any port or place within the United States, are authorized to take declarations and administer oaths in matters pertaining to the administration of the quarantine laws and regulations of the United States.