Does a homebuyer need to payoff their second mortgage or can it be subordinated?

Does a homebuyer need to payoff their second mortgage or can it be subordinated?

The second cannot be subordinated and must be paid off when refinancing the home.