Take [topic-は] come [concessive-には] came [but-が], immediately left.
来るには来たが is the concessive pattern V-dictionary+にはV-past+が — 'X did happen, but...' It acknowledges the action while immediately qualifying it. A useful conversational pattern for managing expectations.