A UN anti-racism body has issued a legal opinion that could support broader claims for slavery reparations.