I thought they do that on purpose to stop the counterfeiters.
Yup.
And counterfeiting is about as ancient as coin-making.
https://www.google.com/search?q=ancient%20counterfeit%20coins