A judge in India has summoned two Hindu gods, Ram and Hanuman, to help resolve a property dispute.