They changed the rules a while back so that Pro's could come down and play in the Olympics also.
With Hockey they actually schedule a break in NHL play so the guys can go back and play for the their home country. I think they have to change the players status in the NBA / WNBA for them to go play.
And it is always fun to see some multi-billion dollar boy get schooled by some 5' 6" kid.