§1. The ordinary is the executor of all pious wills whether mortis causa or inter vivos.
§2. By this right, the ordinary can and must exercise vigilance, even through visitation, so that pious wills are fulfilled, and other executors are bound to render him an account after they have performed their function.
§3. Stipulations contrary to this right of an ordinary attached to last wills and testaments are to be considered non-existent.
Source: Code of Canon Law (Vatican.va)