Saudi Arabia’s Pakistani population is something like 1% of Pakistan’s entire population.
And well over 1% of the home/landowning families in Pakistan rely upon remittances from Saudi Arabia. Saudi Arabia thus has a lot of power to pressure Pakistan to do its bidding and isn’t beyond using it.