Accused wife-killer Fotis Dulos tried to dismantle a makeshift memorial to his “still-missing” spouse that had been set up near his Connecticut house, his lawyer admitted in court Thursday.

Dulos made an unauthorized visit to the small shrine to Jennifer Dulos and removed items from it because it made him feel “taunted,” his attorney Norm Pattis said.

The bizarre claim infuriated the judge in the murder case, who ordered Dulos be held under more strict house arrest rules as a penalty.

“This isn’t a memorial,” Pattis argued in Superior Court in Stamford of the flowers and candles that had been set up down the block from Dulos’ house in Farmington in honor of his estranged wife, the mother of his five kids. “It’s a means of taunting Mr. Dulos . . . he removed items that were there, put there for the purpose of taunting him.”

But Pattis admitted of his client’s unauthorized Jan. 17 visit to the memorial, “Should he have done so? No.”

Pattis also entered a not-guilty plea on Dulos’ behalf to charges of kidnapping and murder. “He’s on edge financially,” the lawyer said, arguing that 54-year-old Dulos needs to leave the house to run his real estate development business.

But in ordering that Dulos can no longer leave his house for work-related errands, Judge Gary White noted that the developer can work from home. He can also still leave for approved legal and medical appointments. The judge pointed out that Dulos posted a $6 million bond and hired a private attorney, so he couldn’t be that bad off.

“If he doesn’t like the memorial that’s been set up near his house, he can speak with others to help him deal with that,” White said, angrily.

“He has strict requirements to follow” under his house-arrest rules, the judge noted, and pointed out that Dulos has already “messed up once” by failing to recharge his GPS device.

Now “he messed up a second time. Third time, I’m going to raise his bond — in fact, it might be doubled,” White warned.

“Don’t ever come back here again on this issue. What he did was stupid,” the judge told Dulos’ lawyer. “Don’t do it again.”

A new memorial to has since sprung up at the same site — including a large purple ribbon reading, “Justice for Jennifer.”

“It disappeared all at once” on Jan. 17, a neighbor, who asked not to be named, said of the lanterns, votive candles and bouquets that had been left at the site.

Many of the items were purple, a color associated with domestic violence victims.

“I don’t think it was a nuisance or anything,” said another neighbor. “It’s not like it said ‘murderer’ or anything. That’s just hostility for Jennifer.”

Pattis said after court that people had posted “various web pages” on a Facebook group called “Where is Jennifer Dulos” in which they expressed the wish that the husband be shamed and embarrassed by the memorial.

“I remind the supporters that Jennifer is missing,” he said. “She may be presumed dead, as far as they’re concerned, but we have yet to see evidence of that.”

Fotis and Jennifer Dulos were in the middle of a bitter divorce when she disappeared May 24 after dropping their kids off at school. Her body has never been found.