It won't be the electoral college, it'll be a handful of Republican strongholds refusing to certify. It'll play out like a repeat of Gore v Bush except the GOP's argument will be way dumber.
The Supreme Court will hand it to Trump 6-3 and the Dems will still blame Jill Stein.