“allowed”? No, Planned and Ordained.
Check out “The Star of Bethlehem” movie to get an awesome glimpse of the way the Lord has organized the ENTIRE universe to demonstrate His Glory and execute His plan. Not a single human decision influenced the timing and result of Christ's birth and crucifixion.