Justice and Rule
Legend
Fantastic change in your eyes, maybe. For me it guts about 95% of the purpose of the spells.
I mean, the original spell is kind of dumb? To me, being able to know someone's alignment instantly kills actually learning about characters and such. There was a time when I suppose you'd be more interested in using your time effectively and knowing if you can trust the old man in the dungeon cuts is less important than letting the story play out. But to me that's just a drama-negator, which is why I thought it was a very smart change.
Thing is, instead of getting rid of alignment I'd prefer to go the other way and lean further into it: aligned items, aligned places, a cosmology completely based on alignment (meaning divine-based classes are also very alignment-conscious); and to make all this work you also need aligned PCs in order to, for example, find out who the aligned item will accept and who it will bite, who feels icky in the evil-consecrated space and who doesn't, and so forth.
I mean, I suppose you can do that. PF2 did that with their Paladin-style class, the Crusader, which themes your different abilities around your alignment. But even then, it's not completely necessary and you could easily just remove it, with each archetype just being a theme that you play into.