MADRID - Spain's Constitutional Court on Wednesday rejected a Catalan regional parliament resolution setting a road map for independence from Spain by 2017.

The court ruling said the resolution adopted Nov. 9 by the Barcelona-based parliament violated five articles of the country's 1978 constitution and articles of the region's own statute.

The ruling followed a challenge of the resolution by the Spanish government in Madrid. The resolution was seen as one of the most serious confrontations facing the Spanish state in recent history.

It remains to be seen what practical effect the court ruling will have and what Spain will do should the Catalan parliament choose to ignore it, as it has indicated it will.

Spanish Prime Minister Mariano Rajoy welcomed the decision, saying it made those "who believe in Spain, national sovereignty and the equality of Spaniards, very happy."

Pro-secession parties that pushed the resolution hold a slim majority in the Catalan regional parliament following September regional elections but the region of 7.5 million people is evenly divided over splitting with the rest of Spain.

Catalonia represents nearly a fifth of Spain's economic output.

The acting Catalan regional government has said it intends to press ahead with the desire expressed in the resolution.