Illegality or groundlessness of a judicial document shall constitute grounds for amending or annulling a decision, ruling, or order under the supervisory procedure.

A substantively correct decision, ruling, or order of the court may not be annulled solely on superficial grounds.