SD beat me to the Tirpitz being docked.
The B-17 was designed with the purpose of coastal defense in mind. This role was abandoned the moment it became clear high-alt horizontal bombers couldn't hit the broad side of a battleship with the broadside of a battleship at altitude while at sea.
I've seen a GREAT picture taken at Midway from one of the B-17s sent up to attack the Japanese fleet. I think it's of the Akagi doing donuts with the eggs from the Forts splashing down harmlessly in the middle of the circle.
Not surprisingly, if you have the CVs doing that when a buff formation rolls through in the MA, most of the time I've noticed the carrier escapes severe, if any, damage.
Also, as a point of order, Prince of Wales and Repulse were, IIRC, sunk by Japanese dive bombers, torpedo planes, and low altitude level bombing in what was sort of a "trial run" of the Pearl Harbor raid, NOT by high-altitude level bombers (also, IIRC, they were ALSO in port at the time).