Spoilers ahead for The Princess Switch

The first film draws inspiration from the classic novel by Mark Twain, The Prince and the Pauper. It follows Stacy DeNovo (Hudgens), a baker who owns her own pastry shop in Chicago with her long-time friend Kevin (Nick Sagar). The two enter a baking competition in the fictional country of Belgravia. While there, she runs into Margaret Delacourt, Duchess of Montenaro (also Hudgens), and the two are struck by how similar they look. Margaret is set to wed Prince Edward (Sam Palladio) and just wants some time out of the spotlight before the wedding. The two agree to switch places — temporarily.

However, through the switch, they both begin to fall in love with Kevin and Prince Edward, respectively. Eventually, the ruse is up, and the two admit to switching places. Margaret admits she's in love with Kevin, while Stacy and Prince Edward marry a year later. 

The sequel picks up a few months after the events of the first film, when Margaret's father, the king of Montenaro, passes away. She suddenly inherits the throne, which puts a strain on her relationship with Kevin. Stacy and Prince Edward have relationship problems of their own, and things are suddenly thrown into even greater disarray with Margaret's cousin, Fiona (again, Hudgens), makes an appearance with a devilish scheme to take Margaret's place, and gain control of Montenaro's kingdom.