Memento of Passion?

Is this acquired at the Palace? Or through social actions? Thanks!

You get a Memento of Passion in the Empress’ Court within the Shuttered Palace. There are a couple of people you can romance there, and concluding a romance with one/both of them will give you a Memento of Passion.