Drupal 9 non-existent permissions configuration removed

Per Permissions must exist | Drupal.org:

An update function is provided to remove invalid permissions from existing roles.

After running that update hook, you will note the old and invalid permissions are removed from your configuration (the user.role.name_of_role.yml files).

When noting this change on Portside, where the changes were significant because it was a site that had been updated from Drupal 7 and had permissions for modules that were long gone hidden in there.

It also starts