i might be wrong because it's been a while since i've played the earlier chapters, but i think it depends on whether or not you chose to keep the prisoner in the palace dungeons or send him away to a different prison
here is the official walkthrough post cherry posted on her tumblr! i hope this helps you :)
https://ataleofcrowns.tumblr.com/post/707269344491601920/hi-with-the-release-of-...