Let I ⊂ ℝ be an open interval and let A ⊂ I be any set. Every Baire 1 function f: I → ℝ coincides on A with a function g: I → ℝ which is simultaneously approximately continuous and quasicontinuous if and only if the set A is nowhere dense and of Lebesgue measure zero.