Ah, I think I see what you're saying.
If you just want to remove the final layers and replace them with your own, you can do something like this:
NetChain[{
(*the parts of the net you want to keep*)
Take[net, 7],
(*the following are the replacement layers*)
500,
Ramp,
10,
SoftmaxLayer[]
}]
Is that what you mean?