Sofia and the Royal Family are preparing for Aunt Tilly's and Sir Bartleby's wedding. James laments about his boring duty, which he has to fulfill as heir to the throne. Not only does he have to remember all the guests' names and homelands, but to greet everyone with their traditional greetings as many different kinds of creatures will attend the wedding. Aunt Tilly, wearing a formal gown ahead of her wedding gown for her big day, arrives with wings on her back. She demonstrates how she is able to make them appear and disappear at will by using a Whenever-Wings-Wand. Tilly tells Sofia and Amber that the wand will be used for a special surprise at the end because she wants the wedding to be special. Baileywick calls them as it is time for the Royal Wedding portrait. Before they leave, Tilly asks Sofia to be her maid-of-honor because she brought her aunt and Sir Bartleby together in the first place. Sofia happily accepts and is then asked to keep the Wand until Tilly gives her a signal at the end of the ceremony.
At the castle, Sofia, Amber, James, Queen Miranda, King Roland, and his mother and sister are gathered in the throne room to be painted. While the adults stand in the back, the children stand in the front, with James as apparent heir to the throne in the middle. But suddenly, the Grand Queen remarks that it is Amber who should stand in James' spot. This confuses Roland because he always thought the firstborn son is heir to the throne, but his mother and older sister correct him: it's the first born child. Since Amber is seven minutes older than her twin brother that makes her the true heir to the throne. Roland still believes his mother and sister are wrong, so the Grand Mum leads the family to the castle library and shows him the book in which the laws are written. As it turns out, the rulership on the kingdom shall be passed to the firstborn child. Roland is confused because his older sister Tilly should be Queen then. Tilly reveals that she was the heir to the throne and was offered the crown after Roland I, but she declined. She was more interested in becoming an adventurer and knew that Roland would be a better ruler. Roland is still confused by why nobody told him this. His mother reveals that it was always his wish to be king and it was all he is able to do, with Tilly adding that they knew that he would be a great king. Amber is very happy because she is now going to be Queen, while James is angry and disappointed. He offends Amber by claiming that she is too self-centered to be a good and responsible Queen before storming out.
Sofia follows James to the stables, where he is hitting his knight training dummy in anger. He was always raised to believe that he would be next in line to the throne and would be protecting the kingdom. Sofia remarks that this is not the only thing a King does and suggests finding another way of protecting Enchancia. This gives James an idea and leaves enthusiastically. He plans to show how he would be a better ruler than Amber.
After the Royals have changed into their formal attire as part of the wedding party and Tilly into her wedding gown, Baileywick and Tilly introduce Amber to her new duties as heir to the throne: greeting the guests, introducing the cake, and holding on to Sir Bartleby's wedding ring until the wedding, which she immediately puts in her pocket after Tilly gives it to her. It is now time for Amber to greet the wedding guests. She knows every guest perfectly to James' dismay, as he had practiced them for weeks and still could not remember. Sofia spots James spying on Amber and he tells her he wants to make sure everyone sees what a horrible Queen Amber would make. Sofia is shocked to hear that and tries to stop him. James runs to the gnomes and leads them to Amber as their greeting is very hard to recall. To his surprise, Amber still knows it and the one for the giants too, which he wasn't aware that they even had one. Sofia reminds her brother that Amber aced Majestic Formalities at Royal Prep due to being something Amber has always liked, unlike him. James leaves, still disappointed.
Tilly and her future husband appear and comment on how Amber has handled her duties. James overhears that, getting even more annoyed. Calling Sophia over, Tilly shows the girls her cage of, to Amber's surprise, flying fish that she wants to be released at the ceremony. As maid-of-honor (and being familiar with them) Sofia is asked to look after them but James interferes, telling Tilly to pass the job to Amber, which his sisters agree to. James now thinks he has a chance to prove how unfit Amber is for the job. First, he distracts Sofia, pointing out that Wilbur the Wombeast has arrived and she goes to talk to her friend. After Sofia is gone, he distracts his twin sister too, telling her that her tiara is crooked. While Amber uses a glass bowl to check on it, he releases the fish. Sofia and Amber are horrified and try to catch them, in the process, Amber touches the King of the Kobolds' hair. James remarks how Amber messed up and goes to help catch the fish too. At a scenic lookout point on top of an ocean cliff, the girls catch the fish by hand one at a time. As James comments on how Amber's dress is in danger of getting dirty, she surprises him again by replying she does not care, Sophia explaining that she's not the pampered princess she used to be. When Amber dives after and captures the last two fish, the wedding ring falls out of her pocket to her alarm. As it bounces along the ground to a stop, the struggling fish escape her grasp, one of them snatching the ring in its mouth, and they escape into the ocean. She is devastated and doubts her skills as future Queen of Enchancia. This leads her to declare James heir to the throne. Amber leaves heartbroken as Baileywick tells them the ceremony is starting, saddened at the prospect of telling her aunt she lost the ring. Despite achieving his goal, seeing his twin sister so miserable makes James start to feel guilty for his actions.
James confesses to Sofia that he is the reason why the fish got out of the cage, much to her disappointment. She tells him to talk to Amber but he refuses as the ring is still missing because of him, but then looking into the water, spots the two flying fish fighting over it at the surface. Grabbing the Whenever-Wing-Wand from Sofia, James fires the wand at the ocean several times in an attempt to hit the ring and give it wings even though Sofia warns him it could have dire consequences. After many shots, he finally hits it and it flies out of the water just as Baileywick reminds them of the ceremony. Just as they leave to stop Amber from abdicating, a giant octopus-like creature with wings, given by the wand, emerges out of the ocean.
James and Sophia get to Amber before she reaches their parents, and he tells her that they got the ring and she is still heir to the throne. Suddenly, the giant octopus appears in the air, diving at and frightening the guests, which James identifies as a kondraki. James quickly realizes it is his fault. Sofia is unable to hit it with the wand as it is too far and moving too fast. Amber, still having lost her confidence, thinks she will not be of help. James confesses to his deeds, apologizing to his sister, and finally gives in, as he observed how Amber enjoyed the stuff he always found boring. Amber gets her confidence back and sends Sofia to look after Tilly and Sir Bartleby, while she protects the guests, and at Sophia's suggestion sends James to get his knight gear. After Sofia has made sure Tilly and Sir Bartleby are not hurt, she hears the kondraki crying for "cake"; Tilly confirms that most kondrakis have a sweet tooth. Sophia runs to tell her sister it will probably target the wedding cake, who then commands the guards to protect it and has them slice a small piece of it. She gives it to James to have him lure the flying creature away, and Sofia uses the wand to give him wings so he can get close enough to get the kondraki’s attention. He leads it back to the lookout point and over the water where he tosses the piece of cake to it; now that it's keeping still, Sofia can finally get rid of its wings and it falls into the sea where it belongs.
James gets praise for his bravery and Sofia notes how protecting the kingdom was always all he wanted, which he can do as a knight. James happily agrees, realizing that it's all he really wanted to be. Amber wants to declare her brother First Knight, only to be reminded by their grandmother that she is not Queen yet. In the end, Tilly and Sir Bartleby are finally declared husband and wife by Baileywick, or rather, adventurer and knight. On Tilly's signal, Sofia uses the wand to give them, herself and her siblings wings, and they all fly and dance together in the sky.
- Ariel Winter as Sofia
- Travis Willingham as King Roland II
- Nicolas Cantu as Prince James
- Darcy Rose Byrnes as Princess Amber
- Tim Gunn as Baileywick
- Bonnie Hunt as Aunt Tilly
- Florence Henderson as Grand Mum
- It is revealed Tilly willingly abdicated the throne.
- Amber has claimed heir to the throne, James now striving to be a knight.
- It is revealed that the French-based Kingdom that Collette is from is called the Kingdom of Trufflandia.
- This was Florence Henderson's final episode as Grand Mum as she passed away from heart failure in November 2016.
- Moral: Your path may not go as expected, but you may find it's what you want in the end.