I think https://github.com/jump-dev/MathOptInterface.jl/pull/1613 should be reverted. The fallback of `set` is already throwing the expected error. Why was that PR needed?