It doesn't state whether to be an associate state or not. Some politics want to be independent but as an associate state to Spain, that means to remain in the EU and be part of Spain for most things.
That premise does not necessarily lead to that conclusion. Ask the USSR.