I am not, nor have I ever been a teacher, so take this for what it's worth.
In a nutshell, you will not have students whose hearts aren't really into the subject. This gives you a fantastic opportunity to really teach at a deeper level. There's a lot to be said about that. There will be less distractions from students not really invested, and possibly opportunities to branch out teaching styles, such as using AI etc. History books often teach on a limited spectrum or perspective of a subject. You could delve into or discuss how it was for those on the other end of that spectrum or discuss it from a different angle. Opens kids up to expand their thinking and realize there is more to a subject than what is in a book.
I have been out of school for many years, so you may already do some or all of the above. I also realize you may be restricted due to the teaching program and the external marking system you mentioned.
If you find the positive in what is happening (and there is one), the kids will get the benefit of it.