Why was the Catalonian referendum illegal?

Pablo Faucon Diaz offers us insight into the Catalonian Referendum from a legal perspective