They are fictional apologetics .always have been thought of as such. Just like Chronicles and the Space Trilogy for Lewis. You have to take what the author thought he was writing into consideration not just some critics later on.
“some” critics? LOTR is considered fantasy by everyone but fringe critics.