If you go using code in a way contrary to its documentation, you can't expect semantic versioning to have semantic value to you.
Nothing in there stops you. You are perfectly free to hack anything in your code. But it's completely outside of your relationship with the author, and frees him from any problem an update may cause you.