A court in Nepal has sentenced a former UN aid worker from Canada to nine years in jail on charges of sexually abusing two boys, a court official said on Tuesday.