I believe that Google does obey local laws. I've certainly had to jump through hoops because of inane restrictions that the Chinese government puts on web content. A bunch of the stuff I've worked on simply isn't available in other countries because of various laws and restrictions that have to be cleared before we can launch.