God intended that all people should be part of his family. He began the process of redemption and restoration with the Jews. Yet, whenever the Jews lived in a mixed society, they invariably allowed the society to influence them, and they pulled away from and ceased following God. Part of God's law warns against this mixing. So, the Jews pursued a policy of isolationism. Current understanding of God's law said God wanted his people to avoid contact with non-Jews. Yet, God really wanted the Jews to engage with non-Jews and invite them to be a part of his family.
After Jesus returned to heaven, God sent an angel to a non-Jew to urge him to invite one of the apostles to come and tell him and his family God's good news of love and acceptance, and to take action that is appropriate to becoming part of God's family. This man sent representatives to the apostle to extend the invitation. The representatives had to travel one or two days to find the apostle.
Meanwhile, God induced a trance on the apostle, in order to send him a message about what his attitude and heart really was toward all peoples. And he timed the trance with the arrival of the representatives, as well as another message. All of this to convince the apostle that the common understanding of God's law was wrong. In effect, he was convincing the apostle to break the law, so that God's love could break the barrier of narrow legalistic assumptions.G