What way you try to install released version? Running insider Beta version shouldn't prevent clean install using bootable USB, but Settings / System / Recovery / Reset this PC will reinstall curent version.
You can move from Beta to released version without clean install by following these steps:
1). Download ISO for released version 25H2 https://www.microsoft.com/en-us/software-download/windows11?msockid=13c4190001016d9f341a0d8c008e6cab
2). Delete WindowsSelfHost key from registry to get device out of insider progra,m
Open regedit Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost Right click WindowsSelfHost -key and select delete. Restart.
3). Mount downloaded ISO (right click and select mount.
4). On mounted image to start in-place update to go to public version 25H2