No Credit for class because of attendance

I recently failed my AP bio class because my teacher enforced the district tardy policy that I had no idea about. All of my previous years at my highschool I exceeds the district tardy policy but my ap bio teacher decided to tell me that I will not receive credit for the class AFTER I exceeds the max which is 10. I was not aware of this all four years at my school. I was passing the class with a B and got an A on the final. I was wondering if this would affect my admission to Berkeley. I don’t want the hard work to go to waste. I’ve already been accepted and I did all the work.

Check your conditions of admission in your admission letter. In the past, people have reported that getting D or F grades will result in rescission of admission.

Is there no way to reverse this or try to plead my case?