`ScopedProxyFactoryBean` are not handled property in an AOT optimized context. As a result, such a bean cannot be injected properly.