> I thought the supreme court said the tariffs are illegal without congressional approval
The ruling wasn't as generalised as that. What it said was that the president doesn't have the authority to impose tariffs under the provisions of the International Emergency Economic Powers Act, which Trump had cited as the basis for some tariffs. That made those tariffs effectively illegal, but the ruling said nothing about tariffs which had other legislative provisions as their legal basis. The tariffs that you see today cite some other rule as their basis rather than the IEEPA.