My guess is that putting them in another location contributed more than putting them upside down, but the important thing is that it worked.
Back in the 1880's it was common to flip the frames upside down to prevent swarming and did not seem to discourage the queen at all.
"While the reversing of brood combs will produce no ill effects whatever, numerous are the advantages arising from such reversal; some of which aid us materially in accomplishing the desired results which are partially accomplished in the contracting system, above described.
"When using frames even no deeper than the standard Langstroth, you know how the bees (especially Italians) will persist in crowding the queen by storing honey that ought to go into the surplus department, along the upper edge of the brood combs, just under the top bar, and farther down in the upper corners, till by actual measurement we find that nearly one-fourth of each frame, and sometimes more, is occupied with honey.
"Now if we reverse the frame containing a comb so tilled, we place the honey in an unusual position; in a place usually occupied with brood, and when this is done in the breeding season, when the bees are not inclined to decrease their quantity of brood, this honey will be immediately removed to the surplus department, and soon the frame will be one solid sheet of brood, which is a glad sight to the bee-keeper whose experience has taught him the value of a compact brood nest, free from honey."--Success in Beeculture by James Heddon Pg 85
"The engraving represents the reversible brood-frame made by Mr. James Heddon. Many devices have been presented to reverse the frames, but this is as good as any, where reversing is desired."--Bees and honey, or, The management of an apiary for pleasure and profit by Thomas G. Newman pg 44