Key word there is that they were restored back to active service. The Enterprise D was extensively restored strictly to be a museum ship.I am big fan of the Enterprise D. I loved watching it fly again. However, I also felt that it was unrealistic. Until I thought about the Dominion War. If you look at the US Naval Fleet destroyed at Pearl Harbor in 1941 you will see the monumental effort it took to restore the bulk of that fleet back to active service.
Except the work wasn't done in wartime. It was started after the Dominion War ended. Indeed, by the time this was started, the Romulan evacuation would have been underway, at which point, those resources are going to be channeled into constructing new mass personnel transports, like we saw orbiting Mars before the attack. Not into restoring a museum piece.During wartime money and resources are not considered as much as in peace time and the resources needed to bring the Ent-D saucer back to service could have been allocated.
Now, yes, after the destruction of Utopia Planitia when Starfleet's shipbuilding capabilities were severely reduced, restoring older ships back into active service would be a very legitimate option. But again, they did not put the Enterprise D back into active service, but rather left it in the museum.
No, none of this makes any real sense no matter how you look at it.