It's a bit hard to believe that they'd run out of wood if Uppsala kingdom is based on Sweden. In terms of natural forest resources, we could've easily sustained construction and maintenance of hundreds of ships of the line without significant deforestation back in the day. Also, you don't use the same kind of forest for building ships and keeping warm in winter, so those resources don't overlap much. There's wood and wood.