In this rule

Historical Rules · 7 June 2024

Rule 506.3f

Official source text from the 7 June 2024 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