Double-threaded bolts!

Why do that? I can see no advantage and wouldn’t it weaken the fastener?