Shah Jahan permanently ended Portuguese court privileges.