The superior who deals with the recourse, as the case warrants, is permitted not only to confirm the decree or declare it invalid but also to rescind or revoke it or, if it seems more expedient to the superior, to emend, replace, or modify it.
Source: Code of Canon Law (Vatican.va)