Inherit from Parameterized class with a base class as parameter

I have class BB_seq_item which inherits from B_seq_item
Also I have class AA_seq which inherits from A_seq(#BB_seq_item)

I want to assign an AA_seq instance to an A_seq(#B_seq_item) handle but I get an elaboration error.
I’ve also tried with $cast and it fails at run time.
Is it possible to make this assignment in another way?

In reply to jarce:

Inheritance of a class’s parameter does not translate into inheritance of the class type itself. Without seeing any code it is hard to suggest an alternative, but you will probably have to use a common base class like uvm_sequence or define an A_seq_base that is unparameterized.