Restricting NLU classification to a subset of intents

Is there a way to restrict NLU classification to a subset of intents? There were already posts like these, but no specific solution. I’m posting next one, since maybe something changed over the years. (Rasa core story Restriction, Restrict NLU parsing to a subset of intents). The idea is get a intent with highest confidence that is in a subset of available intents for this “context”. One idea is the usage of Forms - user falls into one story and we don’t want the user to trigger intent from whole differerent story when inside specific story. But that solution can complicate whole project by a lot. Is there maybe another way to do that?