Not sure if it is still applicable or applicable in your area, but my first job was picking eggs in a commercial farm with battery birds.
The farmer who owned the houses had a commercial contract to supply eggs. The contract company supplied the birds. At the end of the season, the company sent trucks to empty the cages and haul the hens to a slaughterhouse for processing.
If that is how it is done in your area, the birds may not belong to the person operating the egg farm. On the other hand, you don’t know until you ask.
The farmer who owned the houses had a commercial contract to supply eggs. The contract company supplied the birds. At the end of the season, the company sent trucks to empty the cages and haul the hens to a slaughterhouse for processing.
If that is how it is done in your area, the birds may not belong to the person operating the egg farm. On the other hand, you don’t know until you ask.