The comments appeared to represent a certain backtracking by the president, who just last month accused the military alliance of being "obsolete" during a joint interview with the Times of London and Bild newspaper.