Who thought it would be a good idea to have the infrastructure in place for things like ordinals, NFTs in the first place?
By design, the system allows storage of information. It is helpful for stuff like sidechains and softforks. The side effect of this is storage of any kind of information.
Ordinals (and any other similar) attack is easily distinguished since they contain "dead weight" or data that is not used in the verification process.
I literally gave an example of an Ordinal-like transaction funding 160-bit addresses, and treating these as chunks of information instead. You will have no way to telling if that is an Ordinal or a regular transaction. And at that point, it's even worse, because full nodes now need to keep worthless UTXO.