Assif:
The mosuqe and synagogue in Pamarimbo are standing near each other
They are indeed, but rather strangely the synagogue is included and the mosque isn't!
The synagogue also is outside the core area of the WHS, but an exception was made so it features on the list of inscribed monuments. See the Nomination file on the Unesco website for reference.