realiseContext: Handle all context types

Avoids an assertion