the referendum is illegal according to the spanish constitution. the constitutional court of spain suspended the referendum on 7 september 2017. the catalonia government said the court order was not valid, and got support from 750 of 948 municipalities. this led to the 2017 spanish constitutional crisis.