I think important detail is that it authorised attacks on any foreign vessel (of a specific nation), not only on pirate ships.