Even though you cannot select blocks outside the worldborder you can still place a boat at that position.
MC-63642 Worldborder glitches
MC-93321 Worldborder + boat bug
MC-53444 You can get outside of the worldborder by mounting a rideable entity (boat, pig, etc.) outside of it