You can close a multi-tile door entity onto yourself if you click on a tile where you are not standing
You get the same "some buffoon is in the way" error message you do if you issue the command on the tile where your character is.
Been reported already but I can't find the issue # at the moment.
Took me a few minutes to find it because it is such an old issue (5 years ago) - this is a duplicate of #13388