What it is
Freedom to hire dockworkers in Spanish ports
It is a royal decree-law. It was introduced on 12 May 2017. Introduced by: Gobierno.
Official title: Royal Decree-Law 8/2017, of May 12, amending the regime of workers for the provision of port services for the handling of goods, giving effect to the Judgment of the Court of Justice of the European Union of December 11, 2014, in Case C-576/13 (infringement procedure 2009/4052).
Source: Congreso de los Diputados, file 130/000014· updated 11 Nov
Automatic summary, not yet reviewed
- Hiring workers for cargo handling in ports becomes free. Companies are no longer required to hold shares in the SAGEP Sociedad Anónima de Gestión de Estibadores Portuarios: a company that supplies dockworkers to port companies. companies or to give priority to their workers, although they must guarantee the professionalism of those who work.
- A professional certificate, with practical training in port facilities, is required to work in cargo handling. Workers who prove more than 100 working days in this service in any European Union country, and ship crew performing these tasks on board in permitted cases, are exempt.
- Port employment centers may be created. They work as temporary work agencies for the sector: they employ dockworkers, train them and temporarily assign them to companies. They need the authorization required for temporary work agencies, and stevedoring companies are not required to take part in them.
- Collective agreements have one year to adapt to the new law. If they do not, clauses that restrict hiring freedom or limit competition will be null and void. Workers may terminate their contract with compensation if the change in the agreement causes them substantial harm.
- A three-year transition period is set, during which the SAGEP companies may continue to exist. During that time, licensed companies must cover 75 percent of their activity with SAGEP workers in the first year, 50 percent in the second and 25 percent in the third. After that, remaining SAGEP companies must operate as temporary work agencies.
- The port administration assumes the compensation for terminating contracts of SAGEP workers in force before December 11, 2014, to level the playing field between established and new companies. This measure will not take effect until the European Commission declares it compatible with state aid rules.
Who it affects
- Stevedoring companies and port license holders: They are no longer required to hold shares in the SAGEP companies or to give priority to their workers, and can hire freely.
- Port and dock workers: They need the professional certificate; those with a SAGEP contract keep their regime during the transition and may terminate with compensation if they suffer substantial harm.
- SAGEP companies: They may survive for three years and then continue as temporary work agencies or be dissolved.
- Port authorities: They assume compensation for terminating contracts of SAGEP workers from before December 11, 2014.
- Unions and employers in the sector: They have one year to adapt collective agreements to the new law.
Words worth knowing
- SAGEP
- Sociedad Anónima de Gestión de Estibadores Portuarios: a company that supplies dockworkers to port companies.
- Estiba
- The work of loading, unloading, stowing and securing cargo on ships.
- Centro portuario de empleo (CPE)
- Port employment center: a company that hires dockworkers and temporarily assigns them to port companies, like a temporary work agency.
- Empresa de trabajo temporal
- Temporary work agency: a company that hires workers and assigns them temporarily to other companies.
- Convenio colectivo
- Collective agreement: a deal negotiated by unions and employers that sets working conditions for a sector.
It summarizes the law as published in the BOE. It is written by artificial intelligence and may contain mistakes: the official text is what counts. Read the official text · How we make summaries
Where it stands
How far did it get?
It took 7 of 7 steps. It reached BOE, and today it is passed.
- Introduced12 May 2017Someone registers the text in the Congreso.
- Admitted16 May 2017The Bureau of the Congreso accepts it and, for a members’ bill, the plenary decides whether to consider it.
- Amendmentsno dateGroups propose changes.
- Committeeno dateA committee goes through the text in detail.
- Plenary16 May 2017All 350 deputies vote.
- Senateno dateThe Senate can pass it, amend it or veto it.
- BOEno dateIt is published in the Official State Gazette (BOE) and comes into force.
See the 4 official steps on a timeline
18 May 2017
How did the plenary vote?
Voted on: Processing as a Government bill by urgent procedure of Royal Decree-Law 8/2017, of 12 May, amending the regime of workers for the provision of the port service of handling goods in compliance with the Judgment of the Court of Justice of the European Union of 11 December 2014, in Case C-576/13 (infringement procedure 2009/4052).
This law had 2 votes; this is the latest with every deputy’s vote. See them all
Source: Congreso de los Diputados, vote 2 of sitting 54· updated 10 Nov
Each dot is a seat. Tap one, or use the arrow keys, to see who it is.
Your province
How did the deputies from your province vote?
And your senators: the Senate does not link its votes to this law in its open data, so we cannot put them side by side here.
Or see how most of each province voted
- A Coruña More votes against 2 yes · 4 no · 2 abst.
- Albacete More votes against 1 yes · 2 no · 1 abst.
- Alicante/Alacant More votes against 4 yes · 6 no · 2 abst.
- Almería More votes against 0 yes · 4 no · 2 abst.
- Araba/Álava More votes against 1 yes · 2 no · 1 abst.
- Asturias More votes against 2 yes · 4 no · 2 abst.
- Ávila More votes against 0 yes · 2 no · 1 abst.
- Badajoz More votes against 1 yes · 3 no · 2 abst.
- Barcelona More votes in favour 14 yes · 8 no · 9 abst.
- Bizkaia More votes in favour 4 yes · 3 no · 1 abst.
- Burgos More votes against 1 yes · 2 no · 1 abst.
- Cáceres More votes against 0 yes · 2 no · 2 abst.
- Cádiz More votes against 1 yes · 4 no · 3 abst.
- Cantabria More votes against 1 yes · 3 no · 1 abst.
- Castellón/Castelló More votes against 1 yes · 3 no · 1 abst.
- Ceuta More votes against 0 yes · 1 no
- Ciudad Real More votes against 0 yes · 3 no · 2 abst.
- Córdoba More votes against 1 yes · 3 no · 2 abst.
- Cuenca More votes against 0 yes · 2 no · 1 abst.
- Gipuzkoa More votes in favour 3 yes · 2 no · 1 abst.
- Girona More votes in favour 3 yes · 0 no · 3 abst.
- Granada More votes against 1 yes · 4 no · 2 abst.
- Guadalajara More votes against 0 yes · 2 no · 1 abst.
- Huelva More votes against 1 yes · 2 no · 2 abst.
- Huesca Tie 1 yes · 1 no · 1 abst.
- Illes Balears More votes against 2 yes · 4 no · 2 abst.
- Jaén More votes against 1 yes · 2 no · 2 abst.
- La Rioja More votes against 1 yes · 2 no · 1 abst.
- Las Palmas More votes against 2 yes · 4 no · 2 abst.
- León More votes against 1 yes · 2 no · 1 abst.
- Lleida More votes in favour 2 yes · 1 no · 1 abst.
- Lugo More votes against 0 yes · 2 no · 1 abst.
- Madrid More votes against 8 yes · 21 no · 6 abst.
- Málaga More votes against 2 yes · 6 no · 3 abst.
- Melilla More votes against 0 yes · 1 no
- Murcia More votes against 1 yes · 7 no · 2 abst.
- Navarra Tie 2 yes · 2 no · 1 abst.
- Ourense More votes against 0 yes · 3 no · 1 abst.
- Palencia More votes against 0 yes · 2 no · 1 abst.
- Pontevedra More votes against 2 yes · 3 no · 2 abst.
- Salamanca More votes against 0 yes · 3 no · 1 abst.
- Santa Cruz de Tenerife More votes against 1 yes · 4 no · 1 abst.
- Segovia More votes against 0 yes · 2 no · 1 abst.
- Sevilla More votes against 3 yes · 5 no · 4 abst.
- Soria More votes against 0 yes · 1 no · 1 abst.
- Tarragona Tie 2 yes · 2 no · 2 abst.
- Teruel More votes against 0 yes · 2 no · 1 abst.
- Toledo More votes against 1 yes · 3 no · 2 abst.
- Valencia/València More votes against 5 yes · 8 no · 3 abst.
- Valladolid More votes against 1 yes · 3 no · 1 abst.
- Zamora More votes against 1 yes · 2 no
- Zaragoza More votes against 1 yes · 4 no · 2 abst.
More details: how each group and each province voted
The groups
Who voted in favour and who against?
In favour, most of Gcup-ec-em and GER. Against, most of Vasco (EAJ-PNV), Ciudadanos and Popular en el Congreso. 11 deputies voted differently from their group.
By province: in 4 most voted in favour; in 40, against.
Coloured by how most of each province’s deputies voted.
- In favour: 4
- Against: 40
- Tie: 8
| Group | Seats | How it voted |
|---|---|---|
| Socialista | 84 | 1 in favour · 82 abst. · 1 did not vote |
| Vasco (EAJ-PNV) | 5 | 5 against |
| Mixto | 19 | 6 in favour · 3 against · 9 abst. · 1 did not vote |
| Ciudadanos | 32 | 1 in favour · 31 against |
| Gcup-ec-em | 67 | 65 in favour · 2 did not vote |
| GER | 9 | 9 in favour |
| Popular en el Congreso | 134 | 134 against |
What happens next
What happens now?
It is law, or will be once published in the BOE. It comes into force on the date its own text sets.
Sources
Where does all this come from?
- Congreso de los Diputados, file 130/000014
Official title, type, author, dates and stage.
Retrieved 11 November 2026
- Congreso de los Diputados, vote 2 of sitting 54
The count and every seat’s vote.
Retrieved 10 November 2026
- BOE, BOE-A-2017-5270
The law as published.
Retrieved 11 November 2026
- The data comes from the open files of the Congreso, the Senate and the BOE, unaltered.
- Each deputy’s province is the one of their seat on the day of the vote.
- We only say “passed” or “rejected” when the majority needed is certain; otherwise we say which side had more votes.