That's against the EU's data processing and consent laws, irrespective of the actions of the third party app.
Saying it’s the responsibility for owners to protect their stuff isn’t the same as saying the attackers aren’t responsible for any wrong doing.
I appreciate nuance is something the HN community often struggles with, so hopefully this analogy helps:
If you had £100 on your person, you’d be expected to look after that money responsibly. For example not leaving your wallet on a park bench and walking off. However even if you did the latter, that doesn’t mean it’s ok for the person who finds your wallet to keep your money.
"Opt-in" is an option hidden somewhere in your "user preferences" page you have to actively go looking for.
Moreover, popup is still technically a form of “opt-in”. “Opt-in” doesn’t mean the option is hidden. In fact plenty of sites use dark patterns to trick people into opting in.
You’re arguing for the same thing as the person you’re arguing against.