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.