contracts are not laws themselves. but correctly done ToS (I bet LinkedIn does) hold very real legal power.