And you can refuse to merge those changes and promptly kick the idiot who did that from your team. Or maybe, just maybe, it’s that one case where it actually makes sense.
Not all problems are technical. This is the sort of thing that can be solved with people skills.