I somehow doubt that the major world powers that might have the capability or inclination to occupy a depopulated Alaska or Nunavut would put much credence in or be scared by a strongly worded opinion issued by the ICJ. One of them is busy trying to invade their European neighbor right now with bloody results. The other one is on a major island building project in the South China Sea turning sandbars and coral reefs into air bases to claim the oceanic territory.