Court grants permission for polygraph test in Shetty case