In fact, in the EU the copyright protection of software is regulated not by the Copyright Directive (2001/29/EC), but by a special Software Directive (2009/24/EC) whose first version (adopted as early as 1991) predates the Copyright Directive.
the restricted acts, the statutory exceptions and the rules on authorship of software may differ from those concerning other categories of works.