It’s a privacy concern because it can still track your comings and goings. And even the codes were personalized to each tenant, so they could be tracked.
Ah yeah if it's personalized, then I understand. That said, it seems just asking the landlord to make the codes the same for everyone would have been far simpler than going to court over this.