The longshoreman's union is acting as a rent-seeking monopolist, which is behavior which is usually frowned upon when the actor isn't a union (and perhaps should be when it is).