FWIW, that’s a bouy tender, not a tug boat. Notice the hydralic crane on the starboard bow and the mooring bouys on deck? The tender is used to install and maintain mooring bouys in that harbor.
However, similar to the tender in the photo, an elevated pilot house is also used on some inland...