Deputy prime minister could face prison over episode in which vessel carrying rescued migrants was forbidden from docking