Could this fail because the function space is not defined on an enriched element or is this checked earlier?