Facebook has taken the European Union to court for invading the privacy of its employees, according to a report.