A threatened strike that would seriously disrupt ferry services between Britain and continental Europe was ruled illegal Monday night, just hours before industrial action was due to start.