Ugandan opposition leader was hounded out of Nairobi and court-martialed on charges of carrying an illegal gun.