In this rule

Historical Rules · 20 September 2024

Rule 506.3f

Official source text from the 20 September 2024 Rules release

If a resolving spell or ability would cause a battle to become an attacking or blocking creature, that part of the effect does nothing.

Find this number in the current Rules