In the framework of mean field approximation, we consider a spin system consisting of two interacting sub-ensembles. The intra-ensemble interactions are ferromagnetic, while the inter-ensemble interactions are antiferromagnetic. We define the effective number of the nearest neighbors and show that if the two sub-ensembles have the same effective number of the nearest neighbors, the classical form of critical exponents (α=0, β=1/2, γ=γ′=1, δ=3) gives way to the non-classical form (α=0, β=3/2, γ=γ′=0, δ=1), and the scaling function changes simultaneously. We demonstrate that this system allows for two second-order phase transitions and two first-order phase transitions. We observe that an external magnetic field does not destroy the phase transitions but only shifts their critical points, allowing for control of the system’s parameters. We discuss the regime when the magnetization as a function of the magnetic field develops a low-magnetization plateau and show that the height of this plateau abruptly rises to the value of one when the magnetic field reaches a critical value. Our analytical results are supported by a Monte Carlo simulation of a three-dimensional layered model.