Being a state organ, a warship benefits from that state's sovereign immunity from the jurisdiction of other states.
Ivan Anthony Shearer, Extradition in International Law, Manchester, University Press, 1971, págs. 76 y 77.