Relative size apparently makes no difference when birds are competing for nesting cavities. In this case the Northern Flickers are twelve times larger than the house wren (130 g vs 11 g).
Northern Flickers tend to use existing nest cavities (rather than excavating new ones) more often than other woodpecker species and this bird followed that pattern.