All Marxists see Catalonia to have been a state, because it upheld class rule. It had all the functions of a state: prisons, police, an army, a bureaucracy: all are the organs of the state. The great irony of anarchists is when ever they gain power, they prove Marxists right by showing the only way to communism is by establishing a dictatorship of the proletariat in a state form, though they don’t call it that of course. The always repeating failure of anarchism is that they think they can change the world by changing the names of things. So state becomes a commune and police becomes revolutionary guard.