Finally did some digging and found this RX-7 is based on the one that raced in IMSA back in the day. Livery is slightly different in this pieces (most notably the 7s, which are inside of roundels on the real life car)
Speedhunters article on the original racecar. God reading about this makes me really hope we'll see Mazda bring a rotary LMDh one day.