Parking motorcycle hit insurance?

Hello, My Cbr 600 Pc25 was hit in a parking lot fell scratcher everything etc.. she was in a top condition.. Damage according to Werkstattt 1500-2000€ .. If the machine now has for example 700 euros residual value and the damage 2000 euro is then I get paid out still 1300 and can keep the motorcycle? or how does that work? And the damage can be paid out and decide what you want to repair? Expert comes tomorrow, lawyer takes over the matter…