Hello,
Just to make sure, following the information in the official article, did you check the next:
"The domain profile applies to networks where the host system can authenticate to a domain controller. " - Meaning that even if is a Domain network, if the computer can't authenticate to a domain controller, it will still not apply the Domain rules.
Reference: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ics/windows-firewall-profiles
In order to force the transition please try the next:
Changing your network settings can be done in Start > Settings > Network & Internet, select Sharing options from the list. Open up either Private or Public channels, and turn off network discovery, file and printer sharing, or access homegroup connections using the radio station you chose.
-----------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--