Catalytic combustion followed by a homogeneous combustion phase or stabilizing a homogeneous combustion phase