A plan to knock through the wall of an iconic Georgian building as part of a pub expansion has been refused.
Dublin City Council said the plan would "seriously injure" the historical character of the Irish Yeast Company shop.
Businessman Declan Doyle wanted to merge the College Street shop with Bowes pub in Fleet Street.
Mr Doyle owns both buildings, along with the nearby Doyle's bar.
The planning application was made by Capital Estate Management.
The plan would have seen the size of Bowes increase significantly.
The pub has been operating since the 1850s and is one of Dublin's few remaining Victorian pubs.
It is a regular spot for Dublin supporters following big All-Ireland clashes.
The Irish Yeast Company was sold to Mr Doyle last year for a reported €850,000 after its owner, John Moreland, passed away.
The shop, which is a protected building, was put up for sale in February last year.
Mr Moreland, who was in his 90s when he died, started working in the shop when he was just 16.
He spent more than 75 years working in the old shop, and lived above it for more than 60 years.
The business, which has been in College Street since 1890, was taken over by his family soon after the outbreak of World War II.
Mr Moreland refused previous offers to buy the shop, saying he was happy with the way things were.
In its decision, Dublin City Council gave a number of reasons for refusing planning permission.
"The proposal would seriously injure the special architectural and historic character and integrity of these significant protected structures," it said.
It added that the "demolition of internal walls, the impact on the ground floor shop counter and cabinetry and all associated works would give rise to an unacceptable loss of historic fabric and legibility".
It said the demolition would also have "an irreversibly detrimental and seriously injurious impact on the historic fabric, plan form, integrity and architectural character of this rare and important shop and residence".
City councillor Mannix Flynn told the Herald that the decision was a victory for the city.
He said it showed that the council was prepared to protect buildings with historic significance.
Mr Flynn said the shop was one of the last remaining intact and unique buildings.
"You couldn't have got more intact," he said.
"While Dublin is being demolished, with hotels and construction, this is a must-keep. There is a lot of relief."
Last month, it was reported that An Taisce, the National Trust, had objected to the planning application.
It said the plan would diminish the legibility of the two buildings as historic structures.