FILE PHOTO: Josep Ferrer displays an Estelada (Catalan separatist flag) from his house in Manresa, Spain December 18, 2017. REUTERS/Juan Medina

BARCELONA (Reuters) - Catalonia has postponed until further notice the election of a new regional president after Spain’s Supreme Court ruled that candidate Jordi Sanchez would not be allowed to leave jail to attend a parliamentary session planned for Monday.

Sanchez is in jail awaiting trial on charges of rebellion and sedition relating to Catalonia’s illegal referendum last October and its unilateral declaration of independence.

The speaker of the Catalan parliament, Roger Torrent, said late on Friday that the session would be postponed while separatist groups challenge the court ruling at the European Court of Human Rights.

Pro-independence parties won a slim majority in elections in December but have so far been frustrated by court rulings in their attempts to elect a regional president as Madrid insists any candidate must not be in jail or under judicial investigation.