You can rent an M car at Sixt in Nice, drive to Spain, do your track thing etc. and then return the car back to Nice and fly home.
Logistically it's the simplest way as far as I know. Driving from Munich will add one day minimum each way, so it depends what you most want to see: pine trees and lederhosen, or Mediterranean shrubs and bikinis.