In this case, though, these politicians do so at great personal risk. Many are already imprisoned. Even if Cataluña gains sovereignty, chances are that they will be held for high treason by the Spanish authorities.
The Spanish authorities are taking basically no personal risk. If they screw the country, they can just leave on a plane, move to Switzerland or some other nice place.