Older then that. I remember discussing the word and its opposed interpretations in my student days back in the seventies.
This was in Danish, but same word ('sanktion'), same meanings.
I guess the history of this auto-antonym is that in Latin, it refers to a decree or rule—which could potentially be a decree allowing something, or a decree forbidding something.