The Local Government and Social Care Ombudsman has ordered a council to apologise for its part