In the presence of fraud, previously certified electors are not locked in. “You can’t keep what you’ve stolen.”
The Legislature under such conditions is free to decertify and choose a new set of electors. That is the law.
Then any legislature in any state in any election can use whatever excuse they want to throw out the results of the election and award their votes to whatever candidate they want. What if the Florida legislature had done that in 2000?