OCD Forces me to make a correction to how Undertale's endings work.
Spoiler: It's important for the Illusion of Choice discussion
1) You cannot get the 'Ultimate good' ending on your first play through. Period. If I recall, you are 'forced' to kill Asgore, or Flower Big bad auto kills him. You then proceed to the the whacko boss fight and learn how 'meta' the game is.
2)If you were full pacifist in your first play through, you can then re-load your save right before Asgore and get the "super rainbow goat happy-sad" ending.
3)The only way to get the 'bad' ending is to murder everyone. The Genocide run then leaves a mark on your game data and even if you then pursue the "super rainbow goat happy-sad" run, every ending is a shade of "You murder everyone, presumably".
Side-Note: I am unsure what happens if you perform a genocide run on a first play through. I presume you get the genocide ending & tag. It would be interesting if does not work that way, but instead unlocked like the pacifist ending after a forced 'neutral' ending.
I have no actual experience with the game, but now judging by how you say it actually works... That's even worse for me. The game forces me to play it twice to even get the "winning" ending. That means the game dev assumed I'd like it enough the first time to try to do it the second time. Presumptuous dev. Not a fan of that. Though, reloading a save to get the "winning ending" also doesn't feel very nice as a player... meaning you have to play that same section again, even if you did everything right the first time. I'd find that frustrating.
(FYI, minor spoilers throughout, just not as big as the tagged ones)
I disagree that Undertale is an 'Illusion of choice' game in regards to pacifism being the 'only' choice. I view it as a game similar to Chrono Trigger where there is the 'normal' ending that is expected of every player. Then, armed with new game plus power, you can obtain 'extra endings'. Most RPGs focus on the power fantasy of gaming; player acquires more power and are thus is able to 'unlock' more things by overpowering challenges. Undertale flips that on its head with the 'big reveal' of what LV and EXP mean in this game/universe. Thus a new 'ending' is unlocked for those who are immersed in the game story. Mechanically, this can be annoying for any player who now has to do a complete play through 'just' to get one of the endings, because they decided to shoot a frog just to watch him die. I was annoyed that I had to replay Chrono Trigger to slowly unlock all the varied endings, especially since I did it on the playstation remake and by golly those load times drive one insane. My rambling point is: The pacifist ending is something a player may choose to obtain, just like the genocide ending or any game that has multiple endings.
The thing about Chrono Trigger, however, is that before New Game Plus, you actually have access to... five of the endings, I think? All of them good endings. You only get access to the sillier endings (like everyone being dinosaurs) once you've beaten the game and start New Game Plus, because it specifically requires you do certain actions that can ONLY be taken during a New Game Plus (no way to do them without the benefits of being on a New Game Plus).
I've actually played a fair few amount of games that let you play completely pacifist without killing anyone in the game. Some, even reward you for doing that (Deus Ex comes immediately to my mind, as I see it came to yours). But, most of those games allow you to obtain the same endings whether you play pacifist or not. You could probably argue whether or not that's good all day long (I think it's good as it rewards the play style of a player, while also letting them make the choices they want to make), but one of the options definitely offers far more player choice than the other. Plus, games like Deus Ex reward you with XP and levels for doing things that aren't violent at all. In fact, nearly every action rewards you with XP so you can get new powers and upgrades to better do the things you want to do. There are XP rewards for getting to the objectives without even being seen. There are rewards for unlocking shortcuts or new ways through a map. The game is basically centered on a player making choices.
But Undertale really doesn't seem to have that in my opinion. The choices you're given are, "What ending to the game do you want?" and little else. A choice or two of which actually lock you out of the "best ending" of the game (meaning the Win Condition the dev wanted you to fulfill). I don't think a game should lock you out of "the best ending" of the game permanently. The entire game revolves around obtaining those endings, and it actively punishes you for not knowing the requirements to those endings.
Heck, even in Silent Hill 2, I could get all the endings right from the word "Go" by just playing the game properly. It was (and is!) entirely possible to get the best possible ending in the game on your first blind playthrough.
For me, Undertale just seems kind of contrived, especially when you're saying it "turns Level and XP on their head". I've played games that reward you for being a pacifist, sometimes even much better than if you were violent. I've played games where Level and XP don't really matter at all.
It would just boil down to me going, "Oh, you mean I don't have to kill these enemies? Then why would I ever?". That'd be my first playthrough of the game. Not because I'm a good person, but because I see killing in video games as wholly unnecessary when a game gives me the option not to do it. And, why would I need levels or experience if I can defeat enemies without it?
The game just herds you towards "don't fight anything, be a pacifist" in every single mechanic it employs and punishes you when you don't do that. There's a "lack of choice" because there's only one way to win the game. Just one.
For me, an 'Illusion of choice' has to be a game that gives dialogue decisions that do not change a variable or switch. If we use the assumption that a dev guiding us to specific game play choices is an illusion, then we now have games like Knights of the Old Republic, Deus Ex and Mass Effect(1-2) that fit that illusion of choice bill. The Devs 'force' us to play a light/dark jedi, non-lethal/lethal or a paragon/renegade to obtain the 'real' good/bad endings or specific outcomes in a play through. Undertale's 'combat resolution' choice is similar to the light/dark or non-lethal/lethal binaries in that the player is typically penalized for not being dedicated 100% to one side. The choices effect variables/switches. The important issue is how transparent that is to a player. I feel Undertale did a good job of subtly warning the player about violence, but if a player 'steps out of line' I find it acceptable that the price is to replay the game as penance. My opinion, and snootiness, on that penance point is reinforced by the fact that I bought the game purely on the marketing stating it is a game where you did not need to kill anyone. So, I guess my point is, I don't see how Undertale has an illusion of choice. The player has three endings that they can obtain and how they choose to resolve combat is the key to unlocking two of them.
You're misunderstanding the point I was making. The "Illusion of Choice" I'm talking about is in having only a single way to win the game and dev forcing you to take it, including actively punishing you for not doing it (in this case, by playing the whole game all over again).
In Mass Effect 1, you can kill everyone possible and still get a "good ending". But, that's because the Morality System was meant to not be... MORALITY in the first place. The system in Mass Effect 1 for "morality" was actually just a meter that determined how you got things done in the galaxy. The Easy Way was Renegade. You often just shot the enemies causing problems and held a zero-tolerance policy for any law breaking. Shepard wasn't evil at all, or even really mean (except when he punches the reporter... which I guess is the expedient way to deal with her brand of journalism). It isn't until Mass Effect 2 that "Renegade" suddenly starts to mean, "Baby Eating Maniac". You can fault the terrible game design, the idiotic devs, and really anyone who worked on the travesty that is "Mass Effect 2" for that problem. But, the "Paragon" option in Mass Effect 1 was meant to be the "difficult" way. Because, if you failed it, you had to fight. Negotiating required you have the points and reputation for being a diplomat in order to avoid many of the more dangerous things in the game by talking to people. There are situations that just don't resolve well if you don't take the Paragon option (or you can't take it). The choices in Mass Effect are largely how you solve problems, not whether or not you managed to fill a meter. I inevitably end up doing some Renegade things in most every playthrough, because I want to complete a quest in a specific way. Undertale doesn't offer anything like that. I can play half of Mass Effect as a goody goody two shoes and then play as a raving psychopath in the other half, and all it might affect is whether or not I can talk Saren into killing himself and whether or not I might be able to keep Wrex alive.
In Deus Ex, however, the "Lethal/Non-lethal" approaches do nothing to the story. Except in a few instances where an enemy or ally may be alive or dead because you killed someone. You get the same endings regardless of how you play. However, these are just a "personal preference" for the player. They're an option. A method of playstyle. You can gun down everyone in sight and still get the same endings, with nearly the same dialogues. If you killed nobody, or very few people, the dialogues at the end sound hopeful. If you killed lots of people or everyone, they sound cynical. But, it's basically the same dialogue regardless. Same ending. All that changes is the protagonists' outlook on the world and humanity. Which, fits your playstyle and likely your own attitudes while playing the game.