years later he was appointed honorary consul of nicaragua in costa rica