Travel insurance could be invalidated for anyone who travels against the advice, the government page says.