I don’t really follow your logic.
The Danish strategy is to test a lot of people and catch new cases early.
Requiring a green corona passport when entering various establishments where transmission can happen, is both a way to decrease the chance of transmission in these places, and to force more people to get tested, to hopefully catch asymptomatic people before they infect too many other people.