A maritime court in Shanghai has ordered the detention of a Japanese ship having ordered the ship's owner to pay delayed rent and…