Why did the United States put an Al Queda prisoner on a ship?

Were Mr. Ruqai to be brought to a military base on land somewhere, it could raise legal issues with the host government, and were he to be brought onto United States soil, he could arguably have an immediate right to a lawyer. Holding him — and possibly transporting him — on an American vessel in international waters avoids potential diplomatic and legal headaches.