An action validly taken under a provision of this code may not be considered invalid because the action is identical or similar in substance to an action that could have been taken under another provision of this code but fails to satisfy one or more requirements prescribed by that other provision.