This is an example of the principle "checks and balances".
This principle is related to another principle, the separation of powers, in which the government has three branches: executive, judicial and legislative.
"Checks and balances" is a principle that allows other branches to check whether the branches don't abuse their power.