If travelling by ship takes more than 2 weeks, there is very good reason to assume, that they are Covid-free. Also they could be allowed to dock and be required to stay on the ship until cleared by testing. So yes, they have broken the word of the law, but the form of transport should make a difference.