The risk I see is if the overcompensated partner gifts back. Chances of audit are so small. Guessing the total distribution amount is $50-$100k, and closer to 50. Being able to gift back to the highly compensated partner (married) with $40K would be more than enough. But it looks and smells like what it is. That is where I see the issue.