33 USC § 1483
Foreign government ships; immunity
through Public Law 118-10
No measures may be taken under authority of this chapter against any warship or other ship owned or operated by a country and used, for the time being, only on Government noncommercial service.