As I have said in another comment, that is RAW not what would happen:
“You can’t even cast it on something behind the wall, because you cannot target something (or someone) with a spell if they are behind total cover. Total cover is created by being behind completely behind an obstacle (like a wall). This counts even if the obstacle is invisible.”
Furthermore, because if you chose an invalid target for a spell, you’d still expend the spellslot but there would be no effect. So you actually spend a sixth level spell a lot to achieve nothing."
It’s very much not RAI I’d say and I would likely handle exactly like you described, but the RAW was so wonky that I wanted to make the meme when I found out about it.
As I have said in another comment, that is RAW not what would happen:
“You can’t even cast it on something behind the wall, because you cannot target something (or someone) with a spell if they are behind total cover. Total cover is created by being behind completely behind an obstacle (like a wall). This counts even if the obstacle is invisible.”
Furthermore, because if you chose an invalid target for a spell, you’d still expend the spellslot but there would be no effect. So you actually spend a sixth level spell a lot to achieve nothing."
It’s very much not RAI I’d say and I would likely handle exactly like you described, but the RAW was so wonky that I wanted to make the meme when I found out about it.
“Specific overrides general” is RAW though, and the spell description of Wall of Force calls out that exact spell interaction as a way to destroy it.
I guess you’re talking about 2024 rules? Because old 5e rules are different and don’t have this flaw.