Unless you are Muslim you cannot enter the mosque, although you are able to enter the courtyard.
You must be Muslim to enter the mosque.
All the religious sites in the world are confined to the city limits of Jerusalem.