40 hours work vs 40 hours office is not the same thing though. Maybe diminishing return starts at 30 hours of work, but still you can benefit from some relaxed schedule at the office.
30 hours work at 40 hours office time vs 30 hours work at 30 hours office time would have different outputs for sure.