Hi,
REPLACE clause should be used if you want to overwrite the existing database or its related files thro' restore. With REPLACE clause, SQL Server does not conduct the saftey check
before restoring the database. It simply overwrite the mdf and ldf files.