Tags don’t belong to projects, so the tag event script will execute its script using whatever is configured as the “Gateway Scripting Project”: https://docs.inductiveautomation.com/display/DOC81/Gateway+Settings
The script applied to your label does run in a project, where you have presumably defined RecipeControl.recipe_download_active()
in one of the project script libraries, and so it can actually use it.