For good or ill, I think it is considered a breech of separation of powers if the legislature tries to or does pass a law saying somebody can’t sue.
It’s not up to the legislature to decide who does or does not have access to the courts.
Good point.