A legal study on challenges confronted by unmanned ships