West Mercia Police officers were called to the Dawley home of Kevin Wishart on October 18 last year because they had cause for concern for the people living there.
His representative Mr Paul Smith told Shrewsbury Crown Court this week that the officers did not get a response when they called so they broke through the external door.
They also broke down the door of a room belonging to another occupant, who became "extremely angry", said Mr Smith.
The police went upstairs and found Wishart asleep but well.
While the officers were repairing the door, Wishart became impatient and slammed the door into one of the constables, Mr Smith told the court.
The officer pushed the door back into Wishart and called him a "tool".
The police went to leave the property but after the defendant broke a window at the property they arrested him for the assault on an emergency worker.
Wishart, 52, pleaded guilty at court today over a video link.
Mr Smith said: "He has to accept that slamming the door in anger and frustration while the officer is there to try and assist is an assault."
Wishart, of Churchill Court, is in custody but his application for bail will be heard at the court tomorrow. A date can then be set for a pre-sentence report to be presented to Judge Anthony Lowe.