Casteler y Ripoll, Emilio, active 1855-1881, Spanish statesman