I thought it was implied his fruit was awakened the whole time we knew him, but I’ve seen some people talk as if he awakened it during the fight with Luffy.
Probably when he invaded and took over dressrosa, because he pulled all the strings and puppeteer the kingdom, fulfilling his devil fruit's string will