A New York court has quashed a Microsoft Corp. subpoena aimed at compelling IBM to hand over documents related to the software giant’s European antitrust case.

Judge Colleen McMahon said Microsoft’s subpoena amounted to a “blatant end run” on the European Commission’s authority, according to an April 21 court order obtained on Friday.