 The U.S. Constitution permits an affirmation in place of an oath to allow atheists to give testimony in court or to hold public office.However, a United States Supreme Court case reaffirmed that the United States Constitution prohibits States and the Federal Government from requiring any kind of religious test for public office, in the specific case, as a notary public.This decision is generally understood to also apply to witness oaths.