Since we're being nitpicky, neither of those claims are true.
>To get a professional engineer's license, you must graduate from an ABET accredited program.
In some states you can take the FE and PE exam with a related non-ABET accredited degree and work experience based, and in some states you can take the exams with no degree based on experience only. For example, NY let's you substitute work experience for a degree. There's a table where you can see how much experience you need based on your degree (or lack of one).
>Unless you have a professional engineers license, you can't testify in court as an engineer
Courts determine what credentials qualify someone to testify as an expert witness, not state licensing boards.
In some states, testifying in court as an engineer does qualify as practicing engineering without a license, and the state licensing board could fine you after the fact. However, in other states testifying in court doesn’t necessarily qualify as practicing engineering.