Pacific Islands countries have played a key role in making the Treaty on the Prohibition of Nuclear Weapons come into force.