I do not believe that the President has this power.
It is my belief that the President’s power to pardon is limited to federal crimes.
You may be right, I don’t know but it was a federal judge that found him guilty of contempt.