You don't, unless the owner of the resource says they are and is trustworthy. No amount of code will change that.
If you mean, how does the owner of the resource signal that the resource is immutable, yes, I can see that establishing a standard for this would be helpful. But that's just a matter of adding an RFC to describe how to mark URIs as naming immutable resources. Why does it require completely reworking the Internet infrastructure from scratch?
using a mutable-namespace for immutable bindings, you have two immutable systems talking to each other through a mutable pipe
No, it's a matter of making sure you don't use a mutable namespace for immutable bindings. See above.