The cruise ship operators docked nearby and chartered busses. Or they used smaller boats to circumvent the law:
https://www.theguardian.com/world/2022/jul/25/cruise-passeng...