Dear Rajkumar Saheb:
When such cut-throat competition enters between two or more organizations in an industry, where one tries to woo the other's staff, often done through under-hand and unethical means, it is a sure loss to both the companies.
Unfortunately, since no law exists to put a stop to such an end - then like Mr. Divekar observed, an agreement needs be worked out, towards a tangible solution , wherein the top management , together with legal and HR advisers from both organizations, could get their brains and brawn tpgether and arrive at an agreement, binding on both - broadly saying we won't infringe on your personnel, or 'smuggle' them out.
Obviously, this does not imply that such 'personnel take-overs' will be eternal, and when there are such'moves, then ample time - depending on the nature and technicality of the job - be given to the company , to make for alternative arrangements, thus keeping the 'need fulfilled' without any break / disruption to the role performance.
The best to all
Arif ur Rehman