German discounter Lidl has emphasised its innocence even as it agreed to pay fines for allegedly spying on staff.