The small dog has been adorned with a pirate hat.