What it is
Free hiring of dockworkers in Spanish ports after a European court ruling
It is a royal decree-law. It was introduced on 27 February 2017. Introduced by: Gobierno.
Official title: Royal Decree-Law 4/2017, of 24 February, amending the regime for workers providing 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).
Source: Congreso de los Diputados, file 130/000010· updated 11 Nov
Automatic summary, not yet reviewed
- Hiring dockworkers becomes free. Companies are no longer required to hold shares in a dockworkers' company or to give priority to its workers, but they must guarantee the professional qualifications of the people they hire.
- Cargo handling tasks can only be performed by workers with certain vocational training degrees or a professional certificate. Exceptions include workers who prove more than 100 previous workdays in this service in any European Union country, and ship personnel performing these tasks on board.
- Port employment centers may be created. They work like temporary work agencies specific to the sector: they employ dockworkers, train them, and temporarily assign them to companies. They need the authorization required for temporary work agencies.
- A three-year transition period is set, during which the dockworkers' companies (SAGEP Sociedad Anónima de Gestión de Estibadores Portuarios: a company that manages dockworkers and makes them available to port companies.) may continue to exist. Companies in the sector, except those under self-service arrangements, must cover 75% of their activity with SAGEP workers in the first year, 50% in the second, and 25% in the third.
- The Port Authority assumes the compensation for terminating dockworkers' contracts that were in force before December 11, 2014, except for workers reaching retirement age in the following three years. SAGEP shareholders must decide within the first six months whether to stay or leave.
- Collective agreements must adapt to the new rule within one year at most; otherwise, clauses restricting hiring freedom or limiting competition become null and void. Workers suffering a substantial harm may terminate their contract with compensation.
Who it affects
- Companies providing port cargo handling services: They can hire freely, but must meet the percentages of SAGEP staff use during the transition period and require the proper qualifications.
- Dockworkers with a current contract at a SAGEP: They keep their labor regime during the transition period and are entitled to compensation if their contract ends.
- Dockworkers' management companies (SAGEP): They may survive for three years and then continue as temporary work agencies or be dissolved.
- Port employment centers and temporary work agencies: They may create port employment centers with the required authorization.
- Port Authorities: They assume the compensation for terminating dockworkers' contracts predating the court ruling.
Words worth knowing
- Estiba
- The work of loading, unloading, and stowing cargo on ships.
- SAGEP
- Sociedad Anónima de Gestión de Estibadores Portuarios: a company that manages dockworkers and makes them available to port companies.
- Empresa de trabajo temporal
- Temporary work agency: a company that hires workers and assigns them temporarily to other companies that need them.
- Autoprestación
- Self-service arrangement: a company provides the port service to itself with its own staff, without hiring third parties.
- Real decreto-ley
- Royal decree-law: a rule with the force of law that the Government can pass on an urgent basis, in this case to comply with a European court ruling.
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 5 of 7 steps. It reached Plenary, and today it is rejected.
- Introduced27 February 2017Someone registers the text in the Congreso.
- Admitted7 March 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.
- Plenary7 March 2017All 350 deputies vote.
- Senatenot reachedThe Senate can pass it, amend it or veto it.
- BOEnot reachedIt is published in the Official State Gazette (BOE) and comes into force.
See the 4 official steps on a timeline
16 March 2017
How did the plenary vote?
Voted on: Royal Decree-Law 4/2017, of February 24, amending the regime of workers for the provision of the port service of cargo handling, 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, vote 1 of sitting 37· 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 Tie 4 yes · 4 no
- Albacete Tie 2 yes · 2 no
- Alicante/Alacant Tie 5 yes · 5 no · 2 abst.
- Almería More votes in favour 3 yes · 2 no · 1 abst.
- Araba/Álava Tie 2 yes · 2 no
- Asturias More votes against 3 yes · 4 no · 1 abst.
- Ávila More votes in favour 2 yes · 1 no
- Badajoz Tie 3 yes · 3 no
- Barcelona More votes against 4 yes · 23 no · 4 abst.
- Bizkaia More votes against 3 yes · 5 no
- Burgos Tie 2 yes · 2 no
- Cáceres Tie 2 yes · 2 no
- Cádiz More votes against 3 yes · 5 no · 1 abst.
- Cantabria Tie 2 yes · 2 no · 1 abst.
- Castellón/Castelló Tie 2 yes · 2 no · 1 abst.
- Ceuta More votes in favour 1 yes · 0 no
- Ciudad Real More votes in favour 3 yes · 2 no
- Córdoba More votes against 2 yes · 3 no · 1 abst.
- Cuenca More votes in favour 2 yes · 1 no
- Gipuzkoa More votes against 2 yes · 4 no
- Girona More votes against 0 yes · 6 no
- Granada Tie 3 yes · 3 no · 1 abst.
- Guadalajara More votes in favour 2 yes · 1 no
- Huelva More votes against 2 yes · 3 no
- Huesca More votes against 1 yes · 2 no
- Illes Balears More votes against 3 yes · 4 no · 1 abst.
- Jaén More votes against 2 yes · 3 no
- La Rioja Tie 2 yes · 2 no
- Las Palmas More votes against 3 yes · 4 no · 1 abst.
- León Tie 2 yes · 2 no
- Lleida More votes against 1 yes · 3 no
- Lugo Tie 2 yes · 2 no
- Madrid More votes in favour 15 yes · 14 no · 7 abst.
- Málaga More votes against 4 yes · 5 no · 2 abst.
- Melilla More votes in favour 1 yes · 0 no
- Murcia More votes in favour 5 yes · 3 no · 2 abst.
- Navarra More votes against 2 yes · 3 no
- Ourense More votes in favour 3 yes · 1 no
- Palencia More votes in favour 2 yes · 1 no
- Pontevedra More votes against 3 yes · 4 no
- Salamanca More votes in favour 3 yes · 1 no
- Santa Cruz de Tenerife Tie 3 yes · 3 no · 1 abst.
- Segovia More votes in favour 2 yes · 1 no
- Sevilla More votes against 4 yes · 7 no · 1 abst.
- Soria Tie 1 yes · 1 no
- Tarragona More votes against 1 yes · 4 no · 1 abst.
- Teruel More votes in favour 2 yes · 1 no
- Toledo Tie 3 yes · 3 no
- Valencia/València More votes against 6 yes · 8 no · 2 abst.
- Valladolid Tie 2 yes · 2 no · 1 abst.
- Zamora More votes in favour 2 yes · 1 no
- Zaragoza Tie 3 yes · 3 no · 1 abst.
More details: how each group and each province voted
The groups
Who voted in favour and who against?
In favour, most of Vasco (EAJ-PNV) and Popular en el Congreso. Against, most of Socialista, Mixto, Gcup-ec-em and GER. 4 deputies voted differently from their group.
By province: in 15 most voted in favour; in 19, against.
Coloured by how most of each province’s deputies voted.
- In favour: 15
- Against: 19
- Tie: 18
| Group | Seats | How it voted |
|---|---|---|
| Socialista | 84 | 84 against |
| Vasco (EAJ-PNV) | 5 | 5 in favour |
| Mixto | 19 | 3 in favour · 16 against |
| Ciudadanos | 32 | 32 abst. |
| Gcup-ec-em | 67 | 66 against · 1 abst. |
| GER | 9 | 9 against |
| Popular en el Congreso | 134 | 134 in favour |
What happens next
What happens now?
It goes no further. A similar one could be introduced later.
Sources
Where does all this come from?
- Congreso de los Diputados, file 130/000010
Official title, type, author, dates and stage.
Retrieved 11 November 2026
- Congreso de los Diputados, vote 1 of sitting 37
The count and every seat’s vote.
Retrieved 10 November 2026
- BOE, BOE-A-2017-1933
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.