Why do Norwegian battleships have barcodes on their sides?

So when they return to port they can scan-da-navy-in.


I thangyaw.