Gambia has told the top UN court that the Myanmar genocide case is a legitimate one.