An MoD spokeswoman said: “The Royal Navy expects the highest standards of its personnel, who must abide by the Armed Forces Code of Social Conduct regarding personal relationships. The safety of those serving at sea is paramount and where necessary personnel will be moved to shore posts if it in the best interests of their health and well-being.”