Laws governing the distribution of U.S. foreign aid are clear as they apply to coups d 'etat and other unconstitutional steps taken to remove a democratically elected government but are less precise about the imposition of states of emergency and martial law , officials said .