The guy didn't live there. He'd announced his intention. His stuff was out, and if it wasn't out he was entitled to his day in court to make his claim and in most places even have the Sheriff HELP HIM remove it.
The woman asked the cops to come to her place ~ and her right is paramount in this case. Don't ignore her right. The police actions follow directly from it.
The woman asked the cops to come to her place But she did not give them permission to enter the apartment when they asked.