Can you try restoring the database using the SQL Backup extended stored procedure, using the KEEP_REPLICATION option e.g.
Code: |
EXEC master..sqlbackup '-sql "RESTORE DATABASE test FROM DISK = [g:\backups\test.sqb] WITH REPLACE, KEEP_REPLICATION" ' |