Yeah, that was always the Lakers making that pick, from what I understand. Never really blamed the Hornets for it, especially with 12 other teams passing on Kobe as well. Drafting a high schooler was still a novelty and considered very risky at the time.
SGA is a little different. That was also a pre-arranged trade, but there's no reason Charlotte couldn't have just taken him for themselves instead of trading down one pick to earn some extra scraps (second-round picks).
But even when they've been "lucky," they've been unlucky. i.e. getting the #2 pick only to miss on Dwight Howard, Anthony Davis and Wembanyama by one spot each.