Yes. Safety requires Red to make a substantial course change to avoid Green that ranks as obstruction. Therefore Red is entitled by rule 20.1 to hail for room to tack. Green is not the mark, therefore rule 20.1 last sentence is not applicable. When it became clear that Blue was not giving room by tacking than Red should keep clear by passing astern of Green and protest.