The five separatist leaders on trial for Catalonia’s 2017 secession attempt who were elected to the Spanish Parliament last month have picked up their official credentials under police escort.

The Supreme Court allowed the five to get their credentials on Monday and attend the opening session of the new Parliament on Tuesday.

However, it will not allow them to participate in any meetings or speak to the press while at the Parliament in Madrid.

The leader of the Catalonian ERC party Oriol Junqueras, centre, prepares to sign some documents and collect his credentials alongside the ERC parliamentary spokesperson Gabriel Rufian, right, inside the Spanish parliament in Madrid, Spain, Monday May 20, 2019. The five separatist leaders on trial for Catalonia's 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official parliament credentials. The Supreme Court is allowing the five politicians to get their credentials on Monday and attend the opening session of the new Parliament on Tuesday. (J.J. Guillen/Pool Photo via AP)
The leader of the Catalonian ERC party Oriol Junqueras, centre, prepares to sign some documents and collect his credentials alongside the ERC parliamentary spokesperson Gabriel Rufian, right, inside the Spanish parliament in Madrid, Spain, Monday May 20, 2019. The five separatist leaders on trial for Catalonia’s 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official parliament credentials. The Supreme Court is allowing the five politicians to get their credentials on Monday and attend the opening session of the new Parliament on Tuesday. (J.J. Guillen/Pool Photo via AP)

Former Catalan regional vice president Oriol Junqueras and three other high-profile separatists won seats in the Lower Chamber, while Raül Romeva won a seat in the Senate.

The five, along with others, are being held in prison pending trial. They face several years in prison if found guilty of rebellion.

The leader of the Catalonian ERC party Oriol Junqueras, centre, leaves after collecting his credentials at the Spanish parliament in Madrid, Spain, Monday, May 20, 2019. Junqueras and three other high-profile separatists won seats in the Lower Chamber, while Raul Romeva won a seat in the Senate. The five, along with other defendants, are being held in pre-trial jail. They face several years in prison if found guilty of rebellion. (AP Photo/Bernat Armangue)
The leader of the Catalonian ERC party Oriol Junqueras, centre, leaves after collecting his credentials at the Spanish parliament in Madrid, Spain, Monday, May 20, 2019. Junqueras and three other high-profile separatists won seats in the Lower Chamber, while Raul Romeva won a seat in the Senate. The five, along with other defendants, are being held in pre-trial jail. They face several years in prison if found guilty of rebellion. (AP Photo/Bernat Armangue)
Jordi Sanchez, president of the Catalan National Assembly, center, prepares to sign some documents and collect his credentials inside the Spanish parliament in Madrid, Spain, Monday May 20, 2019. The five separatist leaders on trial for Catalonia's 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official parliament credentials. The Supreme Court is allowing the five politicians to get their credentials on Monday and attend the opening session of the new Parliament on Tuesday. (J.J. Guillen/Pool Photo via AP)
Jordi Sanchez, president of the Catalan National Assembly, center, prepares to sign some documents and collect his credentials inside the Spanish parliament in Madrid, Spain, Monday May 20, 2019. The five separatist leaders on trial for Catalonia’s 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official parliament credentials. The Supreme Court is allowing the five politicians to get their credentials on Monday and attend the opening session of the new Parliament on Tuesday. (J.J. Guillen/Pool Photo via AP)
The leader of the Catalonian ERC party Oriol Junqueras leaves after collecting his credentials at the Spanish parliament in Madrid, Spain, Monday, May 20, 2019. Junqueras and three other high-profile separatists won seats in the Lower Chamber, while Raul Romeva won a seat in the Senate. The five, along with other defendants, are being held in pre-trial jail. They face several years in prison if found guilty of rebellion. (AP Photo/Bernat Armangue)
The leader of the Catalonian ERC party Oriol Junqueras leaves after collecting his credentials at the Spanish parliament in Madrid, Spain, Monday, May 20, 2019. Junqueras and three other high-profile separatists won seats in the Lower Chamber, while Raul Romeva won a seat in the Senate. The five, along with other defendants, are being held in pre-trial jail. They face several years in prison if found guilty of rebellion. (AP Photo/Bernat Armangue)
Catalan politician Jordi Sanchez gestures a thumbs up to the media after collecting his credential at the Spanish parliament in Madrid, Spain, Monday, May 20, 2019. Five separatist leaders on trial for Catalonia's 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official credentials. The five, along with other defendants, are being held in pre-trial jail. They face several years in prison if found guilty of rebellion. (AP Photo/Bernat Armangue)
Catalan politician Jordi Sanchez gestures a thumbs up to the media after collecting his credential at the Spanish parliament in Madrid, Spain, Monday, May 20, 2019. Five separatist leaders on trial for Catalonia’s 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official credentials. The five, along with other defendants, are being held in pre-trial jail. They face several years in prison if found guilty of rebellion. (AP Photo/Bernat Armangue)
The leader of the Catalonian ERC party Oriol Junqueras, center, speaks with the ERC spokesperson for the parliament Gabriel Rufian, right, at the Spanish parliament in Madrid, Spain, Monday May 20, 2019. The five separatist leaders on trial for Catalonia's 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official parliament credentials. The Supreme Court is allowing the five politicians to get their credentials on Monday and attend the opening session of the new Parliament on Tuesday. (J.J. Guillen/Pool Photo via AP)
The leader of the Catalonian ERC party Oriol Junqueras, center, speaks with the ERC spokesperson for the parliament Gabriel Rufian, right, at the Spanish parliament in Madrid, Spain, Monday May 20, 2019. The five separatist leaders on trial for Catalonia’s 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official parliament credentials. The Supreme Court is allowing the five politicians to get their credentials on Monday and attend the opening session of the new Parliament on Tuesday. (J.J. Guillen/Pool Photo via AP)
The leader of the Catalonian ERC party Oriol Junqueras, center, speaks with the ERC spokesperson for the parliament Gabriel Rufian, right, at the Spanish parliament in Madrid, Spain, Monday May 20, 2019. The five separatist leaders on trial for Catalonia's 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official parliament credentials. The Supreme Court is allowing the five politicians to get their credentials on Monday and attend the opening session of the new Parliament on Tuesday. (J.J. Guillen/Pool Photo via AP)
The leader of the Catalonian ERC party Oriol Junqueras, center, speaks with the ERC spokesperson for the parliament Gabriel Rufian, right, at the Spanish parliament in Madrid, Spain, Monday May 20, 2019. The five separatist leaders on trial for Catalonia’s 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official parliament credentials. The Supreme Court is allowing the five politicians to get their credentials on Monday and attend the opening session of the new Parliament on Tuesday. (J.J. Guillen/Pool Photo via AP)
Catalan Councillor Jordi Turull, left, signs documents inside the Spanish parliament in Madrid, Spain, Monday May 20, 2019. The five separatist leaders on trial for Catalonia's 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official parliament credentials. The Supreme Court is allowing the five politicians to get their credentials on Monday and attend the opening session of the new Parliament on Tuesday.(J.J. Guillen/Pool Photo via AP)
Catalan Councillor Jordi Turull, left, signs documents inside the Spanish parliament in Madrid, Spain, Monday May 20, 2019. The five separatist leaders on trial for Catalonia’s 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official parliament credentials. The Supreme Court is allowing the five politicians to get their credentials on Monday and attend the opening session of the new Parliament on Tuesday.(J.J. Guillen/Pool Photo via AP)
The leader of the Catalonian ERC party Oriol Junqueras, 3rd right, councilor Josep Rull, 5th right, and Jordi Sanchez, president of the Catalan National Assembly, 4th left, sign documents inside the Spanish parliament in Madrid, Spain, Monday May 20, 2019. The five separatist leaders on trial for Catalonia's 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official parliament credentials. The Supreme Court is allowing the five politicians to get their credentials on Monday and attend the opening session of the new Parliament on Tuesday. (J.J. Guillen/Pool Photo via AP)
The leader of the Catalonian ERC party Oriol Junqueras, 3rd right, councilor Josep Rull, 5th right, and Jordi Sanchez, president of the Catalan National Assembly, 4th left, sign documents inside the Spanish parliament in Madrid, Spain, Monday May 20, 2019. The five separatist leaders on trial for Catalonia’s 2017 secession attempt who were elected to the Spanish Parliament in April 28 elections have been escorted by police to pick up their official parliament credentials. The Supreme Court is allowing the five politicians to get their credentials on Monday and attend the opening session of the new Parliament on Tuesday. (J.J. Guillen/Pool Photo via AP)