California Title 24 implications for bypassing ballasts in my 4-pin (GX24Q) fixtures
From page 9-45 of the California Energy Commission 2019 Residential Compliance Manual (emphasis mine):

Example 9-39
Question:
In the kitchen above, I am replacing one of the recessed downlight luminaires. Must the new downlight luminaire be high-efficacy?
Answer:
Yes, newly installed luminaires must be high-efficacy and meet the requirements in §150.0(k). Screw-based sockets are not permitted for newly installed recessed downlight luminaires in ceilings.

An E26 socket cannot be installed in recessed downlights in California and remain compliant with Title 24's Building Energy Efficiency Standards.