Alternatively, You’re driving down the road and the cops decide they want to search your home, so they pull you over, detain you by the side of the road, and have their buddies search your residence while they talk to you.
You’re not home to object, what’s the problem?
</sarc>
The relevant issue is that a resident authorized entry. The cops still must get a warrant to enter an empty home.