Paid Registrations Buy Account Upgrades on No Permissions page

XenForo displays the same no permission page regardless of the reason for the lack of permission. I suggest to monetize this in the following way:
IF the page is accessible to usergroups that are available through account upgrades, then display a page to purchase the related account upgrades.
This will give the user an instant possibility to gain access to the content they want to access. All they have to do is purchase the upgrade with a few clicks.

I know from experience that this is a very effective way to increase sales.
Competing software already has this functionality.