A United Nations war crimes court has sentenced a former Rwandan administrator to 25 years in prison for his role in the country 's 1994 genocide .