Plans for new homes next to architecturally significant buildings in a Scottish city have been approved. It comes despite an objection that the development would “dominate” a historic square.