🛡️ Quick Rule of Thumb
Use pg_hint_plan.enable_hint = off when you want to ignore all hints.
Use pg_hint_plan.yb_bad_hint_mode = replan when you still want hints considered, but want YugabyteDB to recover more gracefully from invalid or unusable hints.