it is considered as the precedent of the carlists wars