A user keyword named like an imported library (e.g. a keyword 'SeleniumLibrary') would mint the same id as the library stub. Namespace the stub id under robot_library so the two cannot collide; the display label keeps the raw library name.