The move has drawn condemnation from the United Nations and the European Union but was welcomed by Israel.