They were removed. Luckily for one of the dogs I adopted him from an excellent no kill shelter on the South Shore of Montreal and they had it removed before I picked him up. Lucky for me this was included with the adoption fee.
Other dogs I have taken in as fosters were equally done by rescue but there is one dog that I had taken from someone who did not want the dog due to the cherry eye. This I payed on my own with the sterilization and then placed the dog once he was ready to go. The total cost was $275.00 (including the sterilization).