SHUT OUT: Dominique Strauss-Kahn was freed from Rikers, transported in this van yesterday, only to be refused a place at Bristol Plaza, where a resident peers out at the media circus.Bloomberg

(
)

Dominique Strauss-Kahn’s jail-cell door swung open yesterday, but New Yorkers quickly slammed theirs — refusing to allow the accused sex fiend to use their luxury high-rises as his pretrial crash pad.

A judge gave the final OK on a $6 million bail package that allowed him to bid adieu to his nasty hole on Rikers, but his plush choice for an upgrade in accommodation proved a no-go when residents revolted.

“They were looking all over the East Side, and they couldn’t find anyone willing to take him,” a real-estate source told The Post.

The backlash against the former chief of the International Monetary Fund forced prosecutors and his defense team to rush into court and hash out a new plan.

Judge Michael Obus ultimately signed off on temporary lodging at a Financial District building that private security firm Stroz Friedberg uses for its clients.

The shamed moneyman’s new address is a 21-story high-rise at 71 Broadway called the Empire Building, a short distance from Ground Zero, according to sources. Apartments there start at $4,250 per month rent.

His arrival last night had the neighborhood buzzing, with one area worker saying he saw Strauss-Kahn escorted into the building by what looked like a guard at about 7 p.m.

The onetime French presidential contender began the day hoping his bail package would allow him to cool his heels in a luxurious Upper East Side apartment fit for a marquis.

His American-born millionaire wife, Anne Sinclair, booked an apartment at the Bristol Plaza, but conveniently failed to mention that she would be sharing it with her indicted amour.

When word got back to the well-heeled residents at the East 65th Street building, they began a mutiny against the Frenchman worthy of Robespierre.

“This kind of exposure would never fly with the condo residents next door,” said a board member at the hotel and apartment tower. “The Bristol is known for being fiercely protective of the privacy of its residents, some of the wealthiest people in the city.”

The deal got the final kibosh with the objections of a “high-profile resident” who was not identified, a source said.

And it was even better news for the housekeepers, who had been shaken to hear he was headed their way.

“Knowing that he will be staying here — and my job is to clean rooms — that makes me really scared,” said a maid, who has cleaned apartments at Bristol Plaza for a decade, before the deal was killed.

As his housing plans fell apart, some good news emerged for Strauss-Kahn.

The IMF said he’ll collect a golden parachute of about $250,000, which the world lending organization described as a “one-off separation payment.”

But whatever cash he gets will help foot the sky-high bills for Stroz Friedberg, which is expected to charge him $200,000 a month to guard him around the clock while he wears a GPS tracking device on his ankle.

Strauss-Kahn must stay in his home 24 hours a day except for visits to lawyers, doctors, court and for a “weekly religious observance,” according to conditions approved by the judge.

The security company, which provided a similar service to Ponzi schemer Bernie Madoff, will install video cameras and alarms around the apartment to keep Strauss-Kahn from escaping.

He had been in police custody since he was pulled off a Paris-bound flight on May 14 four hours after he allegedly tried to rape a 32-year-old housekeeper at the Sofitel and forced her to perform oral sex.

Prosecutors tried to fight his relocation to downtown, arguing that the media hordes who follow him will now be a major disruption in the area.

“This location is in downtown Manhattan. It’s one or at most two lanes of traffic there. It’s near Ground Zero and near transit hubs and construction sites,” said Assistant DA Artie McConnell. “It’s an extremely problematic area for the police to control.”

He called the disruption “potentially crippling to downtown Manhattan.”

Strauss-Kahn posted $1 million in cash bail and $5 million bond for his freedom along with his well-traveled passport.

“I’m asking all of you please respect this family’s privacy,” said defense attorney William Taylor.

The state Department of Correction said Strauss-Kahn’s home confinement will not count as “time served” on any sentence if he is convicted.

He faces up to 25 years in prison on a host of charges, including two counts of criminal sexual acts and one of attempted rape.

The one-time contender for the French presidency on the Socialist Party line has yet to enter a plea, but his defense attorneys have said he’s innocent.