がそんなことをしたはずがない

there’s no way … did such a thing

→ が
phrase Rare #43,842
there’s no way … did such a thing Expresses strong confidence that someone did not do something.
JA: 彼がそんなことをしたはずがない。
EN: There’s no way he did such a thing.

その女の子がそんなことをしたはずがない。

That girl couldn't have done such a thing.

マイクがそんなことをしたはずがない。

Mike couldn't have done such a thing.

彼がそんなことをしたはずがない。

He couldn't possibly have done such a thing.

彼女がそんなことをしたはずがない。

She couldn't have done such a thing.