The Bombers — who had already dropped the online firm as their authorized reseller earlier this year — yesterday won a temporary restraining order against StubHub that bars it from opening a storefront down the block from Yankee Stadium.

In Bronx Supreme Court yesterday, Yankee lawyer Jonathan Schiller argued that New York state’s anti-scalping law “protects operators like the Yankees from corporate scalpers 1,500 feet from the stadium,” where the Bombers open their season April 1.

StubHub lawyer Salvatore Romanello argued, “We believe the [scalping] law does not apply to us — we are a Web site.”

The judge called that a “stretch,” noting “the physical location is not virtual.”