Court rules Gaza tunnels threaten national security