> In Sweden, a friggebod is a small house which can be built without any planning permission on a land lot with a single-family or a duplex house. It is named after Birgit Friggebo, who was the Minister for Housing in 1979 when the new type of building was allowed. The word is a portmanteau of Friggebo and bod, the Swedish word for shed.
Regardless, it's usually a matter of documenting that the new building adheres to various standards.
I want to clarify that I'm not saying this building is illegal, which is what some people seem to choose to read: I simply said that a large step in this process often seems to be omitted.
If you own the land, and neither the land nor the tree (specimen or species) is protected, you should have no problem.
https://sv.wikipedia.org/wiki/Attefallshus (link in Swedish)
These rules are mostly for built-up areas with neighbors. The rules used to be very draconian, but during the late 70s they were liberalized.
I'm not entirely sure about Swedish regulations in regards to building permits, but based on a quick Internet search it looks like one may or may not require a permit, based on the location, size and purpose of the the log cabin, and as a rule of thumb one should check with the local authorities before starting construction. The Swedish rules seem to be more lax when the building is to be located in sparsely populated areas.
If it's anything like the rules in Finland there's probably a bunch of environmental and building codes that needs to be adhered to, but on the other hand this is a traditional build so it might be perfectly possible that he just needed to submit the plans and get someone to approve them.
[1]: https://www.svt.se/nyheter/lokalt/vastmanland/han-bygger-en-...