Heading off a direct confrontation with the United Nations Security Council , Syria has agreed to allow five officials to leave Damascus to be questioned in Vienna by the prosecutor investigating the assassination of the former Lebanese prime minister Rafik Hariri .