Butenev, Apollinary Petrovich, Russian diplomatist