Not the film finale (it looks as though that may have been filmed in Croatia), but at the end of the car chase the events unfold out at Aberdeen. The scene starts with a view of the ABBA House development (don't ask me about the name, I have no idea) and the camera was obviously placed in the waterfront park on the opposite side of the ride - the clue is the concrete pavilion that you can see the top of. The pavilion and garden are still there.
I've only included a few screen grabs here but the scene is a good few minutes long and was filmed almost entirely in this section of the Aberdeen waterfront. The estate you can see in the lower picture is actually the Ap Lei Chau estate on the opposite side of the harbour.