If the suttas where the Buddha talks about rebirth of persons, then maybe his immediate audience was incapable of understanding a more advanced teaching. Anatta and rebirth are not contradictory, because phenomena are reborn, not selves.