You explicitly agreed to those terms. I think it is entirely decent to stick to the defined, mutually agreed terms.
Judges went "I see exactly what you're doing here, No" and just struck the offending paragraphs and unfair terms.
Of course just because you'd easily win in court doesn't mean they'll stop bullshitting you outside court but some things a landlord might want to do (e.g. kicking you out) already require a figleaf of court approval, and the court ain't going to approve when the contract is clearly Unfair.
When I was younger and rented I ran into plenty of scumbag agencies who tried to screw me over. One of the most popular ideas back then was to charge a high fee for the "service" of photocopying your lease and writing new dates in. The Housing Act says if your residential lease reaches its end date but you're still paying and nobody sent you paperwork requiring you leave then that lease hasn't ended until they do. So no thanks, I don't want to pay £100 for photocopying. If you want this lease to run for another whole year you can do the photocopying and I'll consider signing but I'm not paying you for that.
The government eventually just forbade fees for residential tenants all together. If big agencies want £100 to make a photocopy they are welcome to try charging that fee to the person or company that owns the building instead of the tenant. As you'd expect despite dire warnings from the industry in the end it just stopped charging fees and took a small dent in profits.
However, the market is so tilted towards landlords that basically if you want to live somewhere, you sign it. However in court, these clauses would not be enforceable and might be enough to strike down the entire agreement, in which case the tenancy terms become default tenant law.
I had actually already turned over my key, done a walk-through, and the house was completely empty. It's hard to argue that he needed to charge me $300 to returning a key late. If he had informed me of this, I would have been more than happy to replace the deadbolt for $20 and give him the new keys.
I actually did not see anything like this on the contract. It's also not clear if it's legal in my state. If it's in the contract and not legal, I believe the entire contract is void. In any event, this is a small fraction of the nearly $1,000 that he withheld from us. It was apparent that taking him to court was not going to be effective.