What 80's Movie was this?

I trying to remember a movie from the 80’s that I only remember in bits and pieces. It involved a guy stuck in a communist country and trying to get out. In one part, he gets a ride from a punk rock group and they get carded by a border guard. This was supposed to be a comedic scene as the punk rockers (if I remember correctly) looked different than their ID photos.

Not sure if that’s enough information to identify it, but any help would be great.

Gotcha!

Starring Anthony Edwards.