The UN has announced that recent clashes in Libya for control of the capital Tripoli have displaced nearly 20,000 people, prompting the prosecutor of the international criminal court to warn that she could investigate and possibly prosecute new offenses.