Russia, China and Niger voted against it.