One could argue that Supreme Court immunity is to prevent lawsuits and court cases against the president, but does not specify that congress can still impeach him and remove him for said crimes. The crime is still the crime - immunity does not make it les a crime, just that the court system can’t punish you (f you are president).