He began his judicial career via
public tendering in 1991, when he was 44 years old. On 17 May 1994, he was appointed magistrate. Until that moment, he was judge of first instance and instruction of the court number 3 of San Boi de Llobregat and then was assigned to the court of first instance number 5 of Tarrasa. At the end of the 1990s, he was a member of the electoral board of Barcelona. In 1997 he was transferred to Badalona and on 24 October 2000 he became the dean of the courts of Badalona, where he was the judge of first instance court number 5 and then number 4. In 2003, he moved to court number 13 of Barcelona. In 2014, a member of the
Castellers de Barcelona was imprisoned preventively under Ramírez Sunyer's orders for allegedly participating in demonstrations in favor of
Can Vies in May. He spent 24 days in prison until an acquittal was pronounced. In September 2015, he opened proceedings against the general director of the Catalan police for "failure to prosecute the offense" after jeers occurred during the singing of the Spanish national anthem on 30 May at
Camp Nou. In September 2017, Ramírez Sunyer stopped carrying the cause after being challenged because he was declared "contaminated" by Operation Anubis. He was replaced first by the judge of the Instructional Court 29 and, from 13 December onwards, by Jaime Conejo, formerly in the 16th court of Barcelona.
Operation Anubis Under his orders, on 20 September 2017 the
Civil Guard enacted
Operation Anubis; in the Department of Economy, Welfare and Social Affairs, the Department of Government and Foreign Affairs, in the Open Administration of Catalonia, in the ICF and in the CTTI (Center for Telecommunications and Information Technologies of the Generalitat of Catalonia), 12 people were arrested. For this reason, the Catalan Government announced the filing of a complaint against Ramírez Sunyer and the Civil Guard. ==Honors==