Using concepts from classical density functional theory, we investigate the freezing of a two-dimensional system of ultrasoft particles in a one-dimensional external potential, a phenomenon often called laser-induced freezing (LIF). In the first part of the paper, we present numerical results from free minimization of a mean-field density functional for a system of particles interacting via the GEM-4 potential. We show that the system does indeed display a LIF transition, although the interaction potential is markedly different from the cases studied before. We also introduce a suitably defined effective density within the potential wells ρ[over ¯]_{eff} as a control parameter of LIF, rather than the amplitude of the external potential as in the common LIF scenario. In the second part, we suggest a theoretical description of the onset of LIF which is based on the pressure-balance equation relating the pressure tensor and the external potential. Evaluating this equation for the modulated liquid phase at effective density ρ[over ¯]_{eff} and combining it with the (known) stability threshold of the corresponding bulk fluid, we can predict the critical effective density or, equivalently, the potential amplitude related to the onset of LIF. Our approach yields very good results for the model at hand and it is transferable, in principle, to other model systems.