The useful truth is that you’re both right.
You might be 100% legally correct to say to a cop, “you can’t search there, you don’t have my consent or a warrant.” But if the cop searches there anyway and finds your contraband, you’re getting arrested. And you might get held pending trial. Even if you don’t get held, you might still lose your job, if you make the news. You’ll be free and clear a few months later, when your lawyer suppresses the illegal search and your case is dismissed.
But after you’ve been arrested, possibly held in jail, possibly lost your job, and gone through the stress of multiple court dates and the expense of paying a lawyer, tell me again who was right?