Free-boundary problems through Sakai’s theorem