You just stated Goodharts law in effect.*

[*] https://en.wikipedia.org/wiki/Goodhart%27s_law