@TofuSteak Thanks for posting in our Q&A.
For this issue, I have done the same test as yours in my lab. Honestly, it doesn't work and it shows error. However, I find there is a setting "Disable download file type extension-based warnings for specified file types on domains" in Administrative Templates profile. It seems the same configuration as the custom profile's.
When I deploy it, it shows success and the values are added in Registry. So, it is suggested to try to perform it as a workaround.
Hope it will give you some ideas.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.