Would it be possible to change the nested Restriction class' check(...) method to lookup the current Identity component, rather than use Identity.instance()?
I tried to override the SeamInterceptor class, but that didn't work out so well.