In https://bugs.launchpad.net/zope-cmf/+bug/501668, @dataflake reported:
When visiting a setuptool in the ZMI it shows all registered base profiles on the Profiles tab and all registered extension profiles on the Import tab. However, all those are registered for specific interfaces, and still show up even if the tool's container does not provide them.
The code that generates the list of available profiles should check the tool container's interfaces and only list those profiles that are appropriate for the container.