The entire Temple compound was considered holy, but it became increasingly more holy as one entered farther in, from east to west. King Herod had enclosed the outer court with colonnades and it was referred to as the Court of the Gentiles because the "gentiles" (non-Jews) were permitted to enter the Temple area. They could walk within in it but they were forbidden to go any further than the outer court. They were excluded from entering into any of the inner courts, and warning signs in Greek and Latin were placed that gave warning that the penalty for such trespass was death. The Romans permitted the Jewish authorities to carry out the death penalty for this offence, even if the offender were a Roman citizen. It was for this alleged crime that Paul was attacked and nearly beaten to death by an angry crowd during his last visit to Jerusalem (Acts 21:27-32).
Acts 21:27-32 "Now when the seven days were almost ended, the Jews from Asia, seeing him in the temple, stirred up the whole crowd and laid hands on him, crying out, "Men of Israel, help! This is the man who teaches all men everywhere against the people, the law, and this place; and furthermore he also brought Greeks into the temple and has defiled this holy place." (For they had previously seen Trophimus the Ephesian with him in the city, whom they supposed that Paul had brought into the temple.) And all the city was disturbed; and the people ran together, seized Paul, and dragged him out of the temple; and immediately the doors were shut. Now as they were seeking to kill him, news came to the commander of the garrison that all Jerusalem was in an uproar. He immediately took soldiers and centurions, and ran down to them. And when they saw the commander and the soldiers, they stopped beating Paul."
It was into these outer courts that Jesus came and drove out the money-changers who had been accumulating wealth by using the Temple as a place of merchandise.