High court to look at ban on handguns