There are buffers that prevent you from being able to execute interactive commands (by overriding the default M-x binding). For example,
*ansi-term* buffer would do this.
(I know you can do C-cM-x to invoke the command).
Is there an existing way to rename a buffer that isn't the current buffer? (It's easy to write a function for it, but it seems like it should've been already written...)