This is a lesson in a technique called "unblocking." And yes, the hand can be made in a "roundabout" way.
The first thing you should notice is that North has five tricks in hearts, from K down to 9. The thing that prevents you from taking those tricks is the "blocking" A in South's hand. So on the lead of the king of spades, declarer takes the ace of spades (one trick) in North and "unblocks" (discards) the ace of hearts from the South hand, thereby allowing North's hearts to "run."
The second thing you should notice is that North has six diamonds that can run, because they follow South's five HIGHER diamonds. But you need to get rid of South's diamonds, first. Fortunately, you can discard them on the KQJT9 of hearts. Then run your six diamonds from North, discarding 6 low clubs. Finally play the club 2 from North to South's ace.
You have one spade, five hearts, six diamonds, and one club trick, 13 tricks in all.