Jürgen Spitzmüller wrote:
We could forbid the insertion of the specific types within the specific problematic context.
Unless someone had a huge need to insert boxed text in a caption, that would make sense to me. For people who are not TeXperts, debugging a problem caused by a note in a place it ought not be can be difficult.
/Paul