Planning hearing told Cork Harbour remains a health risk