A boat hailed for room to tack must answer, even if the hail was improper: tack as soon as possible, or reply "You tack" and give the hailer room.
Rule 20.2 — boat1 hailed boat2 for room to tack; boat2 must respond: tack as soon as possible, or reply "You tack" and then give boat1 room to tack and avoid it. Rule 18.2 does not apply between them.
Applies to any same-tack hail, allowed or not; switches off 18.2.