Ships that have the Boarding ability (by default, all Privateer and Crystal ships) usually board a ship when they try to tow it while it has no fuel. This friendly code on the towing ship prevents that. This way, Privateers and Crystals can tow friendly fuel-less ships without boarding them.