I'm pretty sure even a military submarine would get severely damaged if attacked by a sperm whale. They don't generally have a reason to attack, but they are known to sink whaling ships. It's kinda hard to deal with getting rammed by a 50 ton whale …