Comment by yjftsjthsd-h
In the vanishingly unlikely case that that matters, you can just run things in Xephyr. You can even use firejail to automate it, which is probably a good idea anyways if you're running malicious code on your machine.
I prefer running Qubes OS, but Xephyr is of course also a possibility.