you have installed both the Remote Desktop Session Host and the Remote Desktop Licensing roles on the exact same Windows Server 2022 machine. The article you referenced highlights a common point of confusion regarding two distinct types of compatibility within Remote Desktop Services.
The compatibility rules for a Session Host differ completely from the rules for a Licensing server. A Windows Server 2022 Session Host is indeed perfectly capable of accepting Windows Server 2025 CALs. However, the server actively hosting the Remote Desktop Licensing role must run an operating system version that is equal to or newer than the CALs it manages. Because your Licensing role is installed on your Windows Server 2022 machine, it lacks the underlying framework to install, recognize, or distribute the newer 2025 licenses.
Since your goal is for this single Windows Server 2022 machine to act as both the destination for user connections and the distributor of the licenses, you cannot use the 2025 CALs in their current format. To resolve this error while maintaining your current single-server architecture, your best path forward is to utilize your official downgrade rights. You can contact the Microsoft Clearinghouse support team to convert your 2025 CALs into 2022 CALs, which your current Licensing role will flawlessly recognize and issue to your users.
Hope this helps :)
VP