The easy way to prevent that de-ligitimizattion is simply to annex the entire region of Judea and Samaria. Then declare the squatting arabs to be resident aliens. Allow them to stay as long as they don't break any laws. If they get convicted of breaking any laws, revoke their visas and deport them to any country that will accept them (except the U.S.).
More than 2,000 migrants threaten to break out of Hungarian camp (Reuters)