When King Juan Carlos appeared at a recent basketball game in front of thousands of subjects, he was greeted by persistent heckling and whistling. It was an unprecedented spectacle in a nearly four-decade reign over which the monarch has basked in the nation's love and respect.