In this rule

Historical Rules · 14 April 2023

Rule 506.3f

Official source text from the 14 April 2023 Rules release

Permalink

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