Israel's top court will allow international aid groups to keep operating in the Gaza Strip and other Palestinian territories.