John Templeman has been slapped with 17 code violations, including for converting closets and laundry rooms into bedrooms, records show. The alleged misconduct was discovered during a probe into rental patterns at the home in recent months, a source said.

Templeman, a lawyer at White & Case, was hauled into court last year and slapped with a $7,500 fine for violating an “excessive rental” law. Neighbors complained the home hosted a rotating weekend bash.

Templeman, however, insists he had no illegal short-term rentals this summer.

“There are no new allegations of illegal rentals,” he said, adding that he was simply ignorant of the local rental laws last year and would not violate them again.