The city is ready to go to war with the Queens garbage lady.

Sanitation and Law Department officials are seeking a court order to access Carmine Bhimull’s makeshift landfill in Jamaica and get the mess cleaned up, according to sources.

Once obtained, DSNY and NYPD officers could finally attempt to get rid of the massive, 10-foot-tall trash-pile that’s practically engulfed Bhimull’s tiny, two-story home — where she’s lived and been collecting garbage for years.

The move comes following The Post’s front-page coverage of Bhimull and her stomach-churning lawn ornaments.

Cops had to take the 57-year-old away in an ambulance on Wednesday for a psych evaluation hours after she was confronted by a Sanitation agent who had showed up and tried to lay down the law.

Carmine Bhimull was not happy when Sanitation officials arrived at her property and told her to clean up.

“This is no good. It is a violation,” said Enforcement Agent Allen George. “You have to clean! You have to maintain the property at a standard.”

“It’s not garbage in the yard — it’s recycling,” Bhimull yelled.

“There is no reason for them to complain,” she said of her neighbors, who have been voicing their outrage for years.

“They are being very nasty and spiteful,” she added. “They continually call [city agencies to complain]. There is no stopping.”

Social services staffers were said to have interviewed the woman earlier in the day and were assessing the situation. Firefighters also visited the home Wednesday.

The city cannot access Bhimull’s lawn — or any private property for that matter — without the consent of the owner or a court order due to the Fourth Amendment, which requires a warrant. It was unclear what exactly prompted cops to take away the ornery hoarder. Officials could not comment, citing HIPPA guidelines.

Additional reporting by Craig McCarthy