The legal system is based on Islamic and civil law (particularly Napoleonic codes); and judicial review by a Supreme Court, which accepts compulsory International Court of Justice jurisdiction only with reservations.