The cool moment went down as part of the league's festivities in Paris this week ... with the guys tossin' the rock around with actor Darko Perić.
Of course, the Ferrari and Alpine drivers are phenomenal on the track ... but as for the hardwood?? Not so much. In fact, Pierre -- who's become tight with Michael Jordan recently -- hilariously gets away with a clear double dribble.
But it was all in good fun ... and no one appeared to be taking it seriously. After all, everyone was wearing street clothes.
As for the REAL ball going on in Paris, the Detroit Pistons and Chicago Bulls are currently going at it ... with big names like Magic Johnson and Lil Baby in attendance for the matchup.
The drivers also had great seats for the game ... with Gasly's Alpine teammate, Esteban Ocon, also joining them for the action.