Core Rules
No
From the spell description p. 283
If you turn a creature into another kind of creature, the new form can be any kind you choose whose challenge rating is equal to or less than the target’s (or its level, if the target doesn’t have a challenge rating)
It explicitly states that creatures without challenge ratings have levels. This implies that creatures with levels do not have challenge ratings.
The spell only allows you to turn the target into a creature with a challenge rating - not a creature with levels.
For example, you can choose any of the humans in the monster manual, the priest, the assassin, the archmage etc. but you cannot choose a Human Wizard Level 19 because this creature has no challenge rating.
Optional Rules
Yes, but its not straightforward.
From p. 283 of the DMG for NPCs and Monsters with Classes respectively:
... then determine the NPC's challenge rating just as you would
for a monster.
You'll need to recalculate its challenge rating as though you had
designed the monster from scratch.
The older edition paradigm of CR=Level does not hold true in 5e.
It would take some considerable time to determine the CR of you Kobold + Wizard level monster and is likely to bog the game down dramatically if it happens during a session. If this is something that you want, I suggest the DM and the wizard decide on a few "go to" polymorphs and work them out in advance.
This appears to be how the Monster Manual Appendix B NPCs were assigned their CR.
Short answer is that the spell targets the creature in its current form.
Who Is Really In There?
Regardless of the form the creature is in after the first True Polymorph, or was originally in, the creature gets a saving throw if it is unwilling to change under a given instance of this spell.
True Polymorph Targets a single Creature
True Polymorph creature-to-creature version results in a creature with a new form: another creature. Any subsequent casting is an attempt to overwrite a previous casting, but that does not change the fact that the second instance is being cast upon a creature (the new form): a creature affected by the spell gets changed into (some new form) under two conditions:
- Willingly
- On a failed Wisdom save.
Choose one creature or non-magical object that you can see within range. You transform the creature into a different creature, (SRD Spell Description, p. 185).
The second wizard has only one creature to changed into that owlbear, not two. If the first caster loses concentration, the dragon becomes a fighter. That is because the two don't happen at once, as you described in your example.
This is a turn based game, so something has to happen first. If the second wizard cast the spell while the first has concentration on the Polymorph, that gets adjudicated first. If the first wizard loses concentration before the second wizard casts the spell, that gets revolved (dragon becomes fighter) first.
This means that if the first wizard is still concentrating, the only creature the second wizard has to work with is the dragon.
If the second wizard casts the spell on the dragon while the other wizard is concentrating, and not after it is permanent, then resolve the conflict with the following in mind:
An unwilling creature can make a Wisdom saving throw, and if it succeeds, it isn’t affected by this spell.
1) Have the dragon make a saving throw. It is the creature being targeted. If he willingly accepts True Polymorph from the first wizard, this save should probably be rolled first: he's the creature the other wizard is trying to change into an owlbear. If he is willing to be changed, no saving throw is needed. We then address the problem of two instances of the spell trying to affect the same creature at the same time.
The target’s game statistics, including mental ability scores, are replaced by the statistics of the new form. It retains its alignment and personality.
If the dragon fails the save -- true polymorph uses the new form's stats so our changed Fighter must use the Wisdom Save for the dragon ---- then it gets turned into an owlbear ... pending the outcome of the contest between two wizards.
If the Fighter/Dragon makes the save, then no change happens.
(You could do this contest first, and if the second wizard wins, then roll the save).
Credit to @Dale M for raising this point: when two of the same spell are applied to the same target, only one affects it. (PHB p. 205)
* In the case of True Polymorph versus Polymorph, 9th level spell beats
4th level spell
* In the case of Shapechange versus True Polymorph, it is 9th level
versus 9th level spell, but since the Shapechange is cast on "self"
you are dealing with the save versus True Polymorph in the
Shapechanged form
How do you decide between the first and second instance of the True Polymorph spell?
The first could be overcome by the second wizard's casting based on a different game rule, since there can be only one instance of that spell affecting that creature. Two characters are trying to do the same thing at once? Use rules for a Contest.
2) Who wins the Contest?(p. 58 of the Basic Rules).
Contests
Sometimes one character’s or monster’s efforts are directly opposed to
another’s. This can occur when both of them are trying to do the same
thing and only one can succeed ... In situations like these, the
outcome is determined by a special form of ability check, called a
contest. Both participants in a contest make ability checks
appropriate to their efforts. They apply all appropriate bonuses and
penalties, but instead of comparing the total to a DC, they compare
the totals of their two checks. The participant with the higher check
total wins the contest. That character or monster either succeeds at
the action or prevents the other one from succeeding.
I'd recommend using the Intelligence (spell casting stat) as the basis for the contest. That means that the situation you set up about dueling concentration doesn't have a chance to happen -- it's a turn based game.
Result of the contest is either:
- The first keeps his concentration up, and he wins
- The second overcomes him as a result of the Contest being resolved
and the dragon is changed into an owlbear.
- (Apply saving throw, or not, based on the target being willing, or not).
Do the rules specifically state that for this spell? No. What the Contest rule provides is a simple way to resolve it, keeping in mind that things happen in a sequence in a turn based game, and that only one instance of this spell can apply to a given creature at a time.
Further comments
Note the position the second wizard is in, in terms of sequence of events.
True Polymorph / Casting Time: 1 action (SRD. p. 185)
Either the second wizard succeeds in his attempt to change the dragon into something else, or he fails. You can do it by save, by contest, or both if the dragon/fighter is not willing to change into a new form.
If the fighter was not willingly changed into a dragon, he might accept the second wizard's spell and not fight it. Only an unwilling creature rolls a save versus this spell.
An unwilling creature can make a Wisdom saving throw, and if it succeeds, it isn’t affected by this spell.
How does the spell work? First, it changes a creature's shape. Then, the wizard concentrate on the creature staying in the new shape, either short term or long term. The second wizard cannot concentrate on maintaining the new shape of a creature that he did not yet change into an owlbear.
This step by step approach avoids having to rule about "who is really in there?". Even though the polymorphed creature retains its personality and alignment (who it is), you can make a ruling on whether the warrior rolls a save versus the second spell, or not. Just ask the player.
Each casting of the spell allows a save for an unwilling creature who is the target.
This interaction goes both ways: if the second wizard loses concentration, if he targeted the fighter, then the owlbear becomes a fighter. If he targeted the dragon, then the owlbear becomes a dragon.
The owlbear only changes into a dragon if the dragon was permanent. Otherwise, he becomes the Fighter, since the contest had to be decided in the second wizard's favor in order to turn the dragon into the owlbear in the first place.
Best Answer
1. That isn't how Change Shape works
Change Shape for a Brass Dragon includes this caveat at the end of the description (MM p. 104):
He doesn't turn back into his bard self, since he can't take on the Class features. There are reasons for this.
A related consideration is: what age group of a dragon do you turn into? Is it related to character age, or not? The discussion in that question about Dragon PC's may be of interest to you.
As for the Lich being turned into a turtle? Good idea, if you can manage it.
2. Balance and 9th Level Spells
By the time characters can use 9th level spells, balance becomes a function of DM style, choice, and rulings. Spells of that level are very, very powerful, in some cases making changes in reality of the game world. True Polymorph and Wish are particularly good examples of that. Characters at levels 17-20 are in the "Masters of the World" level of adventure as described in the DMG page 37. (Cue Crosby, Stills, and Nash singing We can change the world) Game balance at this point comes from DM challenging the players and DM rulings.
OK, so you're the DM, and ask "How do I balance this?" At that level, adjusting the level of challenge for your players is where you find the balance point. That's part of your role as DM. Bounded accuracy in 5e is one limit to player power. Increasing the challenge by increasing the numbers and kinds of opponents, or creating unorthodox alliances of NPC's and monsters is a way to keep the players challenged at high levels.
If the players are warping reality too far in one direction, the arrival of a pair of silver dragons(ancient), a few high level high celestials / angels, and a few NPC's to challenge them isn't out of line.
Another line to explore is that your new Ancient Brass Dragon PC has become the challenge to be overcome by a party of high level adventurer NPCs. That's what high level adventurers do, it seems: slay dragons.
A further limitation, and potential balancing method, on this use of True Polymorph is in the published errata (for the sixth printing of the PHB, and in the spell's text in the SRD, V 5.1): the "permanent" feature of true polymorph lasts until it is dispelled. If some opponent or nemesis of the PCs learns that the PC had been true polymorphed into dragon form, a casting of Dispel Magic (at 9th level, or with a successful DC 19 check if cast at a lower level) would return the bard-dragon into the bard's original form. That's a way to "balance" the magical effect if the bard-turned-ancient-dragon creates an unbalanced situation in a given campaign. (Thanks to @guildsbounty for the update)
The only limit to the challenge is the limits of your imagination. There is a load of help for the DM in the DMG. It covers a very broad range of tools to help the DM create a challenging game world.