Requiring a great expense for something to be given over or conceded.
Gained at the cost of incurring unwelcome consequences.