Why did Sweden start painting barcodes on the sides of their battleships?

So they could Scandinavian.