It's very easy to look at the situation from the outside, declare the Catalan independence declaration illegal and say "that's that". However, inside Catalonia, the declaration was very popular amongst a significant portion of the population.
In reaction, Madrid has declared the independence referendum illegal, suspended the government and removed key Catalonian government officials and civil servants from office.
On the ground in Catalonia, how much are these orders being followed? Is it the opinion of the Catalonian people that they are still under Madrid's rule or that their independence was successful, so they don't need to obey Madrid anymore? Obviously, there will be people on both sides, since there were many Catalonians who wanted to remain part of Spain. Have the people removed from office complied, or are they still doing their jobs because they have the support of the locals?