MADRID -- Catalonia's main separatist parties said Wednesday they have agreed to re-elect fugitive Carles Puigdemont as president of the region later this month, although how to make that legally possible is still up in the air.

Puigdemont, who has been in Brussels since he was sacked in October over an attempt to secede from Spain, faces immediate arrest if he returns home. He wants the separatist majority in the new regional parliament to appoint him despite his absence.

The Catalan assembly's regulations are ambiguous about that possibility, but the anti-independence opposition says that a president can't govern from afar.

"It's evident that for governing Catalonia you have to be in Catalonia, you can't do that via WhatsApp or as a hologram," said Ines Arrimadas, the leader of the anti-independence Ciutadans (Citizens) party. "A person who is fleeing justice can't be the president."

Get Breaking News Delivered to Your Inbox

A spokesman with Puigdemont's Junts per Catalunya (Together for Catalonia) ticket said that the separatist politician secured the backing of the left-republican ERC party Tuesday evening in Brussels.

The parties jointly hold 66 of the 135 seats in the regional chamber, and can add the support of four anti-establishment lawmakers.

The separatists' dominance of the chamber, however, depends on jailed or fugitive elected lawmakers who won't be able to vote unless they are released or give up their seats to someone else on the party list. But a new president can form government with a simple majority in a second attempt.

An ERC spokesman also confirmed the deal, adding that Puigdemont will propose to speak via video conference to the regional parliament later this month or have a fellow party lawmaker read the mandatory speech that candidates to the regional leadership need to deliver before being voted in.

Both officials spoke anonymously because they weren't authorized to be identified in news reports.

Spain's Prime Minister Mariano Rajoy listens to lawmakers during a parliamentary session at the parliament in Madrid, Oct. 18, 2017. AP

Spanish Prime Minister Mariano Rajoy ordered the Dec. 21 regional election under constitutional powers he invoked in October to dissolve the previous parliament after separatist lawmakers voted to declare Catalonia an independent republic. He also removed Puigdemont and his Cabinet.

While the anti-secession Ciutadans (Citizens) collected the most votes of any single party, the prime minister's hope that the separatists would suffer a stinging rebuke at the polls went unfulfilled.

The two separatist parties have also agreed to elect a separatist parliamentary speaker at the inaugural session on Jan. 17. It's the speaker who calls on a candidate to try to form a government in the following days.

Former Catalan President Carles Puigdemont makes a statement in this still image from video calling for the release of "the legitimate government of Catalonia", after a Spanish judge ordered nine Catalan secessionist leaders to be held in custody pending a potential trial over the region's independence push, in Brussels, Belgium, November 2, 2017. TV3 via REUTERS TV / REUTERS

Puigdemont boasted again on Wednesday that the three Catalan pro-independence parties had secured a majority despite some of their candidates campaigning from self-imposed exile or in jail while facing possible charges of rebellion.

"The desire to be free from Madrid is rising, it is in the majority and it is lasting over time, despite the huge difficulties it faces," he wrote in an editorial published on the Politico news website. "That calls for attention and respect - neither of which have been offered by the Spanish government and the European Union."

Polls consistently show most Catalans want the right to decide their future but are evenly divided over splitting from Spain.