Ethereum in particular has some history with that. A long time ago they espoused this principle called "code is law", and then one time the code for something called "The DAO" did something they didn't like, so they overrode the code. To this day the Ethereum consensus rules specify that a certain hardcoded transaction ID should not do what it literally says it does.