Court upholds Nigeria leader win