I think you missed the bit where 77% of farmland is used for feed export. Your beef might be produced locally, but the feed for that beef, was produced on deforrested land.
While I don't expect a lot of feed is exported to Sweden, the same rule applies. Don't buy products which use imports from Brazil if those imports are created from burning down the Amazon. It would be the same as buying a locally produced shirt created from cotton that child labor picked (which was a scandal with a major Swedish clothing company).