I think you misunderstood.
I didn’t.
It will anything whether it should or not.
It does what it’s told, which is the way an OS should work.
It can be made to execute a payload that shouldn’t be run.
And Linux can’t? Isn’t that the whole thing about Linux and open software is that it can be made to do whatever you want?
Glad we sorted that out.