Where the court is a court of appeal in relation to the court which it considers to have jurisdiction, it may raise the merits of the case if it considers that it would be in the interests of justice to give the case a definitive solution after having itself ordered, where appropriate, a measure of inquiry.