An ally of the Spanish Prime Minister has said Catalonia's current president cannot stay in place.