Paying Fines

I remember that several years ago (2002…2003ish) I’m pretty sure Greece, and I think Italy and Portugal were fined for exceeding the 3% budget deficit target.

Around the same time France and Germany exceeded the limit and essentially said “so what?”

Did the EU actually collect these fines? Isn’t it obvious that if you fine a country running a deficit that it would probably makes things worse?