Question for this sort of situation: could you send an email to "confirm the case" to your boss and your boss'boss for this? They would need to respond and get this in writing. At that point, if they fire you they will have a big problem, if they don't hire the person, they will still have a big problem.
I understand that it creates a whole set of bad situations, so just asking what's the theoretical appropriate way to handle this