Thank you for reporting a bug to Unity.
This is behaviour as designed. If we disable the menu item instead, the user wouldn't know why the action can't be performed.
The error is intended so the information is available to the user.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.