Occupied territory is not part of the occupying country.
Did you read were they annexed the land and laid claim to it as their land, and the UN did not say anything
"Jordan formally annexed the West Bank on April 24, 1950, giving all residents automatic Jordanian citizenship. West Bank residents had already received the right to claim Jordanian citizenship in December 1949"
from the above link
Jordans annexation was regarded as illegal and void by the Arab League and others. It was recognized only by Britain, Iraq and Pakistan
irrelevant as they still annexed the land and the UN said nothing. Very different to the occupation by Israel which was for purely defensive measures as outlined in the Geneva Conventions