Transfer selected objects to a collection doesn't work
You can't transfer because there is no active object.

Pasting objects also lasso/border selecting doesn't set any object as active, and most operators in Blender use active object as reference for settings, since there isn't one some operations may fail.

Solve this by Shift-clicking any of the selected objects so it is set as active without deselecting others.