The transposition in the Spanish legislation of Directive (EU) 2018/957 by Royal Decree-Law 7/2021 aims to ensure greater protection for posted workers.